Skip to content

Commit

Permalink
conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkarns committed May 29, 2024
1 parent 1ea3584 commit c415c2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ jobs:
# workaround https://github.com/actions/checkout/issues/910
- run: git remote set-head origin --auto
- run: npm ci
- run: npm run lint:checksums -- origin/${{github.base_ref || 'HEAD^'}}
- if: github.event_name == 'push'
run: npm run lint:checksums -- HEAD^
- run: npm run lint:checksums -- origin/${{github.base_ref}}
if: github.event_name == 'pull_request'

0 comments on commit c415c2a

Please sign in to comment.