From d52db9e4e878c753eec626c6f9916a4ddca0e953 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Sun, 25 Jun 2023 22:48:09 +0200 Subject: [PATCH] Move CI auditing into separate workflow (#485) Separate the continuous audit job from the general checks workflow. The motivation for this is that checks should always pass (similar to `npm run verify`), but audit may not always be passing and this is not always a problem. --- .github/workflows/audit.yml | 14 ++++++++++++++ .github/workflows/check.yml | 3 --- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/audit.yml diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 00000000..ed8358c7 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,14 @@ +name: Audit +on: + pull_request: ~ + push: + branches: + - main + - v2 + +permissions: read-all + +jobs: + audit: + name: Audit + uses: ericcornelissen/eslint-plugin-top/.github/workflows/reusable-audit.yml@main diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7b23ddcd..8763cc2e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,9 +11,6 @@ on: permissions: read-all jobs: - audit: - name: Audit - uses: ericcornelissen/eslint-plugin-top/.github/workflows/reusable-audit.yml@main build: name: Build runs-on: ubuntu-22.04