Skip to content

Commit

Permalink
CI(CMake): Do not cancel in progress jobs when not in PRs (#5190)
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Feb 22, 2025
1 parent 7b176b0 commit 972a00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

env:
Expand Down

0 comments on commit 972a00d

Please sign in to comment.