File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3838 default : " false"
3939 type : boolean
4040
41- # Cancel in-progress runs for PRs, queue for main
41+ # Cancel in-progress runs when new commits are pushed
4242concurrency :
4343 group : ${{ github.workflow }}-${{ github.ref }}
44- cancel-in-progress : ${{ github.event_name == 'pull_request' }}
44+ cancel-in-progress : true
4545
4646# Minimal permissions - principle of least privilege
4747permissions :
Original file line number Diff line number Diff line change 44 pull_request :
55 types : [opened, synchronize, reopened]
66
7+ # Cancel in-progress runs when new commits are pushed
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
712permissions :
813 contents : read
914 pull-requests : write
Original file line number Diff line number Diff line change 1313 pull_request :
1414 branches : [main]
1515
16- # Cancel in-progress runs for PRs
16+ # Cancel in-progress runs when new commits are pushed
1717concurrency :
1818 group : ${{ github.workflow }}-${{ github.ref }}
19- cancel-in-progress : ${{ github.event_name == 'pull_request' }}
19+ cancel-in-progress : true
2020
2121permissions :
2222 contents : read
You can’t perform that action at this time.
0 commit comments