Archived
1
0

Merge pull request #5 from creyD/dev

Adjusted Workflows for new branching structure
This commit is contained in:
2020-01-24 10:25:39 +01:00
committed by GitHub
2 changed files with 19 additions and 19 deletions

19
.github/workflows/cc.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: CodeCleanup
on: [pull_request]
jobs:
cleanup_tasks:
runs-on: ubuntu-latest
steps:
- name: Cloning the repository
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Prettify the JS Code
uses: creyD/prettier_action@master
with:
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,19 +0,0 @@
name: Prettier for JS Code
on: [push, pull_request]
jobs:
cleanup_tasks:
runs-on: ubuntu-latest
steps:
- name: Cloning the repository
uses: actions/checkout@master
with:
fetch-depth: 1
- name: Prettify the JS Code
uses: creyD/prettier_action@master
with:
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}