Skip to content

Commit ee8e95b

Browse files
authored
Revert "[CI] Only run one post commit job on a push to a pull request in sycl-devops-pr" (#16092)
Reverts #16079 This is cancelling jobs in unexpected ways, I need to debug it and fix the problem.
1 parent 8657bf7 commit ee8e95b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/sycl-post-commit.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ on:
2020
- ./devops/actions/cached_checkout
2121

2222
concurrency:
23-
# Cancel a currently running workflow from the same PR or commit hash.
24-
# We need to use the user's branch name (which is in different variables
25-
# for pull request events and push events) so that making a PR from a
26-
# sycl-devops-pr branch doesn't cause two postcommit runs.
27-
group: "${{ github.actor }}-${{ github.head_ref || github.ref_name }}"
23+
# Cancel a currently running workflow from the same PR or commit hash.
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
2825
cancel-in-progress: true
2926

3027
permissions: read-all

0 commit comments

Comments
 (0)