From 1723202839a06b1e79ee89500618e69b5c926b19 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 13 May 2020 23:39:15 +0200 Subject: [PATCH] Add ncc workflow --- .github/workflows/{ci.yaml => ci.yml} | 2 +- .github/workflows/ncc.yml | 33 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) rename .github/workflows/{ci.yaml => ci.yml} (98%) create mode 100644 .github/workflows/ncc.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yml similarity index 98% rename from .github/workflows/ci.yaml rename to .github/workflows/ci.yml index 7f63e5f..c141140 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push: branches: - 'master' - - 'releases/' + - 'releases/*' paths-ignore: - '**.md' pull_request: diff --git a/.github/workflows/ncc.yml b/.github/workflows/ncc.yml new file mode 100644 index 0000000..058e3b3 --- /dev/null +++ b/.github/workflows/ncc.yml @@ -0,0 +1,33 @@ +name: ncc + +on: + push: + branches: + - 'master' + - 'releases/*' + paths-ignore: + - '**.md' + +jobs: + fix: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v2 + - + name: Build + run: | + npm install + npm run format + npm run build + - + name: Raise PR + uses: peter-evans/create-pull-request@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "fix: update generated content" + title: "fix: update generated content" + branch: update-generated-content + branch-suffix: timestamp + labels: automerge