File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ name: CI
1414permissions :
1515 contents : read
1616
17+ # Each main run gets a group of its own, since GitHub drops a pending run of a group when a newer one queues.
1718concurrency :
18- group : ${{ github.workflow }}-${{ github.ref }}
19+ group : ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
1920 cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
2021
2122env :
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ name: CodeQL
1313permissions :
1414 contents : read
1515
16+ # Each main run gets a group of its own, since GitHub drops a pending run of a group when a newer one queues.
1617concurrency :
17- group : ${{ github.workflow }}-${{ github.ref }}
18+ group : ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
1819 cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
1920
2021jobs :
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ name: Coverage
1010permissions :
1111 contents : read
1212
13+ # Each main run gets a group of its own, since GitHub drops a pending run of a group when a newer one queues.
1314concurrency :
14- group : ${{ github.workflow }}-${{ github.ref }}
15+ group : ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
1516 cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
1617
1718env :
You can’t perform that action at this time.
0 commit comments