File tree Expand file tree Collapse file tree 5 files changed +17
-15
lines changed
Expand file tree Collapse file tree 5 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 1111 - cron : ' 15 4 * * *'
1212
1313concurrency :
14- # Group by workflow and ref; the last component ensures that for pull
15- # requests, we limit to one concurrent job, but for the default branch we
16- # don't
17- group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != github.event.repository.default_branch && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
14+ # Group by workflow and ref; the last component ensures that for pull requests
15+ # we limit to one concurrent job, but for the main/stable branches we don't
16+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
1817 # Only cancel intermediate pull request builds
1918 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
2019
Original file line number Diff line number Diff line change 1212 - cron : 30 2 * * *
1313
1414concurrency :
15- # Group by workflow and ref; the last component ensures that for pull
16- # requests, we limit to one concurrent job, but for the main branch we don't
17- group : ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }}
15+ # Group by workflow and ref; the last component ensures that for pull requests
16+ # we limit to one concurrent job, but for the main/stable branches we don't
17+ group : ${{ github.workflow }}-${{ github.ref }}-${{ ( github.ref != 'main' && !startsWith(github.ref, ' refs/heads/stable-')) || github.run_number }}
1818 # Only cancel intermediate pull request builds
1919 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
2020
Original file line number Diff line number Diff line change 1111 - cron : ' 33 3 * * *'
1212
1313concurrency :
14- # Group by workflow and ref; the last component ensures that for pull
15- # requests, we limit to one concurrent job, but for the main branch we don't
16- group : ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }}
14+ # Group by workflow and ref; the last component ensures that for pull requests
15+ # we limit to one concurrent job, but for the main/stable branches we don't
16+ group : ${{ github.workflow }}-${{ github.ref }}-${{ ( github.ref != '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 1111 - cron : ' 15 3 * * *'
1212
1313concurrency :
14- # Group by workflow and ref; the last component ensures that for pull
15- # requests, we limit to one concurrent job, but for the main branch we don't
16- group : ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }}
14+ # Group by workflow and ref; the last component ensures that for pull requests
15+ # we limit to one concurrent job, but for the main/stable branches we don't
16+ group : ${{ github.workflow }}-${{ github.ref }}-${{ ( github.ref != '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 - cron : ' 15 3 * * *'
1616
1717concurrency :
18- group : ${{ github.workflow }}-${{ github.ref }}
19- cancel-in-progress : true
18+ # Group by workflow and ref; the last component ensures that for pull requests
19+ # we limit to one concurrent job, but for the main/stable branches we don't
20+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'main' && !startsWith(github.ref, 'refs/heads/stable-')) || github.run_number }}
21+ # Only cancel intermediate pull request builds
22+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
2023
2124jobs :
2225 workspaces :
You can’t perform that action at this time.
0 commit comments