Avoid duplicate CI runs on non-fork Pull Requests
dee-me-tree-or-love opened this issue · comments
Mitja O commented
What
For example in #435, the CI is triggered twice by push
and pull_request
triggers.
This should be avoided since it only adds confusion and possibly increases the total time for CI.
Example
Possible solutions
- Configure the
ci.yaml
workflow to run on pushes only ontags
or themaster
(soonmain
#420) branch, and always on pull requests. Example implementation as described here: How to trigger an action on push or pull request but not both? #26276