Skip to content

Commit

Permalink
ci: enable trunk
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Mucha <[email protected]>
  • Loading branch information
drptbl committed Aug 30, 2022
1 parent 35b9839 commit 6e82e7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/audit_and_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ jobs:
run: npm install --legacy-peer-deps --prefer-offline --no-audit

- name: Lint
# run only on pull requests
if:
github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' ||
github.event_name == 'pull_request'
uses: trunk-io/trunk-action@b64e8d2c91b6bff32cad2c4445656afd942a124d # pin@v1

- name: Generate sarif report
# run only on master/dev branch and pull requests
if:
github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' ||
Expand Down

0 comments on commit 6e82e7f

Please sign in to comment.