Fix duplicate CI runs#817
Conversation
|
Are you sure you want to do this? A person might push several commits to a branch before opening a PR, and they would not have any CI until they open a PR. |
|
The amount of redundant work we perform is quite massive atm. The real fix would be to run either pull request or on push but that is not possible with GitHub actions https://github.com/orgs/community/discussions/26276. On a branch one can always comment out the single line https://github.com/FEniCS/ffcx/pull/817/changes#diff-cbf97851bdfebccf2fcdd8848c6a93adb8d8affd5c6b1faf00238d528c3ef6cbR10 to reactivate on push CIs or trigger through a workflow. Both really not nice options, but I would say preferable to running both on every PR push. In DOLFINx we do the same to avoid duplicate runs. |
|
Closing - no need to keep laying around. |
PRs currently run duplicate CI runs, once triggered through the
pushand once through thepull_requestevent.main.