File tree Expand file tree Collapse file tree 7 files changed +61
-0
lines changed Expand file tree Collapse file tree 7 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 88 branches :
99 - main
1010
11+ # Cancel in-progress runs for pull requests when developers push
12+ # additional changes, and serialize builds in branches.
13+ # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.ref }}
16+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
17+
1118# Note: if: success() is used in several jobs -
1219# this ensures that it only executes if all previous jobs succeeded.
1320
Original file line number Diff line number Diff line change 1010 # Runs every Monday morning PST
1111 - cron : " 17 15 * * 1"
1212
13+ # Cancel in-progress runs for pull requests when developers push
14+ # additional changes, and serialize builds in branches.
15+ # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
19+
1320jobs :
1421 analyze :
1522 name : Analyze
Original file line number Diff line number Diff line change 99 types :
1010 - released
1111
12+ # Cancel in-progress runs for pull requests when developers push
13+ # additional changes, and serialize builds in branches.
14+ # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
18+
1219jobs :
1320 docker-images :
1421 runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ permissions:
1717 security-events : none
1818 statuses : none
1919
20+ # Cancel in-progress runs for pull requests when developers push
21+ # additional changes, and serialize builds in branches.
22+ # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
23+ concurrency :
24+ group : ${{ github.workflow }}-${{ github.ref }}
25+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
26+
2027jobs :
2128 preview :
2229 name : Docs preview
Original file line number Diff line number Diff line change 1212 paths :
1313 - " install.sh"
1414
15+ # Cancel in-progress runs for pull requests when developers push
16+ # additional changes, and serialize builds in branches.
17+ # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
21+
1522jobs :
1623 ubuntu :
1724 name : Test installer on Ubuntu
Original file line number Diff line number Diff line change 88 release :
99 types : [released]
1010
11+ # Cancel in-progress runs for pull requests when developers push
12+ # additional changes, and serialize builds in branches.
13+ # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.ref }}
16+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
17+
1118jobs :
1219 # NOTE: this job requires curl, jq and yarn
1320 # All of them are included in ubuntu-latest.
Original file line number Diff line number Diff line change 1414 - " **.sh"
1515 - " **.bats"
1616
17+ permissions :
18+ actions : none
19+ checks : none
20+ contents : read
21+ deployments : none
22+ issues : none
23+ packages : none
24+ pull-requests : none
25+ repository-projects : none
26+ security-events : none
27+ statuses : none
28+
29+ # Cancel in-progress runs for pull requests when developers push
30+ # additional changes, and serialize builds in branches.
31+ # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
32+ concurrency :
33+ group : ${{ github.workflow }}-${{ github.ref }}
34+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
35+
1736jobs :
1837 test :
1938 name : Run script unit tests
You can’t perform that action at this time.
0 commit comments