Skip to content

Commit

Permalink
fix: crashing when running from a push event
Browse files Browse the repository at this point in the history
  • Loading branch information
christjt committed Jun 30, 2023
1 parent 4a433da commit a3f67a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ jobs:
permissions:
pull-requests: read
outputs:
should-run: ${{ steps.filter.outputs.should-run }}
should-run: ${{ github.event_name != 'pull_request' || steps.filter.outputs.should-run }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
if: ${{ github.event_name == 'pull_request' }}
with:
filters: |
should-run:
Expand Down

0 comments on commit a3f67a5

Please sign in to comment.