Skip to content

Commit

Permalink
Revert "[CI] Only run one post commit job on a push to a pull request…
Browse files Browse the repository at this point in the history
… in sycl-devops-pr" (#16092)

Reverts #16079

This is cancelling jobs in unexpected ways, I need to debug it and fix
the problem.
  • Loading branch information
sarnex authored Nov 14, 2024
1 parent 8657bf7 commit ee8e95b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/sycl-post-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ on:
- ./devops/actions/cached_checkout

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

permissions: read-all
Expand Down

0 comments on commit ee8e95b

Please sign in to comment.