File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ permissions:
99 contents : read
1010
1111concurrency :
12- group : ${{ github.workflow }}-${{ github.ref }}
13- cancel-in-progress : ${{ !contains( github.ref, ' master') && !contains( github.ref, ' concurrency-test-1') }}
12+ group : ${{ github.workflow }}-${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/concurrency-test-1') && github.run_id || github.ref }}
13+ cancel-in-progress : ${{ github.ref != 'refs/heads/ master' && github.ref != 'refs/heads/ concurrency-test-1' }}
1414
1515jobs :
1616 build :
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ permissions:
99 contents : read
1010
1111concurrency :
12- group : ${{ github.workflow }}-${{ github.ref }}
13- cancel-in-progress : ${{ !contains( github.ref, ' master') && !contains( github.ref, ' concurrency-test-1') }}
12+ group : ${{ github.workflow }}-${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/concurrency-test-1') && github.run_id || github.ref }}
13+ cancel-in-progress : ${{ github.ref != 'refs/heads/ master' && github.ref != 'refs/heads/ concurrency-test-1' }}
1414
1515jobs :
1616 build :
You can’t perform that action at this time.
0 commit comments