We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c2253 commit a0ed718Copy full SHA for a0ed718
.github/workflows/ci.yml
@@ -3,7 +3,7 @@ on: [ push, pull_request ]
3
jobs:
4
build:
5
# allow triggering on a push to the repo, or a PR build, not both events
6
- if: github.event_name == 'push' || github.event.pull_request.head.sha != github.sha
+ if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.sha != github.sha)
7
name: Build
8
runs-on: ubuntu-latest
9
strategy:
0 commit comments