File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313concurrency :
1414 # Group by workflow and ref; the last component ensures that for pull requests
15- # we limit to one concurrent job, but for the default /stable branch we don't
16- group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != github.event.repository.default_branch && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
15+ # we limit to one concurrent job, but for the main /stable branches we don't
16+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
1717 # Only cancel intermediate pull request builds
1818 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1919
Original file line number Diff line number Diff line change 1212
1313concurrency :
1414 # Group by workflow and ref; the last component ensures that for pull requests
15- # we limit to one concurrent job, but for the default /stable branch we don't
16- group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != github.event.repository.default_branch && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
15+ # we limit to one concurrent job, but for the main /stable branches we don't
16+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
1717 # Only cancel intermediate pull request builds
1818 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1919
Original file line number Diff line number Diff line change 1212
1313concurrency :
1414 # Group by workflow and ref; the last component ensures that for pull requests
15- # we limit to one concurrent job, but for the default /stable branch we don't
16- group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != github.event.repository.default_branch && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
15+ # we limit to one concurrent job, but for the main /stable branches we don't
16+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
1717 # Only cancel intermediate pull request builds
1818 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1919
Original file line number Diff line number Diff line change 1515
1616concurrency :
1717 # Group by workflow and ref; the last component ensures that for pull requests
18- # we limit to one concurrent job, but for the default /stable branch we don't
19- group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != github.event.repository.default_branch && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
18+ # we limit to one concurrent job, but for the main /stable branches we don't
19+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
2020 # Only cancel intermediate pull request builds
2121 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
2222
Original file line number Diff line number Diff line change 1515
1616concurrency :
1717 # Group by workflow and ref; the last component ensures that for pull requests
18- # we limit to one concurrent job, but for the default /stable branch we don't
19- group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != github.event.repository.default_branch && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
18+ # we limit to one concurrent job, but for the main /stable branches we don't
19+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
2020 # Only cancel intermediate pull request builds
2121 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
2222
Original file line number Diff line number Diff line change 1616
1717concurrency :
1818 # Group by workflow and ref; the last component ensures that for pull requests
19- # we limit to one concurrent job, but for the default /stable branch we don't
20- group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != github.event.repository.default_branch && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
19+ # we limit to one concurrent job, but for the main /stable branches we don't
20+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
2121 # Only cancel intermediate pull request builds
2222 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
2323
You can’t perform that action at this time.
0 commit comments