Skip to content

Commit

Permalink
Move CI auditing into separate workflow (#485)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ericcornelissen authored Jun 25, 2023
1 parent 2572218 commit d52db9e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 0 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d52db9e

Please sign in to comment.