Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <nick.sarnie@intel.com>
- Loading branch information