You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CI] Only run one post commit job on a push to a pull request in sycl-devops-pr (#16079)
Kind of a really specific case, but if someone pushes to
`sycl-devops-pr` to run postcommit and then makes a PR from the same
branch, both the initial pull request event and every subsequent push to
the branch will cause two postcommits to run, one from the push to the
branch and one from the PR.
Use a unique key that will be the same in both cases so only one is run
and the other is cancelled.
Nobody really uses this branch besides CI devs so we don't need to
overengineer it so it never runs two in the first place IMO.
---------
Signed-off-by: Sarnie, Nick <[email protected]>
0 commit comments