Fix CI running twice per PR commit
All checks were successful
CI / test (pull_request) Successful in 14m6s
All checks were successful
CI / test (pull_request) Successful in 14m6s
push and pull_request both fired for commits on a branch with an open PR. Scope push to master only, matching sporah's workflow, so branch commits trigger just the pull_request run.
This commit is contained in:
parent
26e9624c23
commit
296ab860c7
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue