Only run CI once for pull requests (#169)
Currently CI is triggered twice when a PR is updated (the second run being triggered by the branch push). This removes that trigger.
This commit is contained in:
parent
53c7b4a149
commit
a91a739d0e
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ['**']
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user