File tree 7 files changed +61
-0
lines changed
7 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
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
+
11
18
# Note: if: success() is used in several jobs -
12
19
# this ensures that it only executes if all previous jobs succeeded.
13
20
Original file line number Diff line number Diff line change 10
10
# Runs every Monday morning PST
11
11
- cron : " 17 15 * * 1"
12
12
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
+
13
20
jobs :
14
21
analyze :
15
22
name : Analyze
Original file line number Diff line number Diff line change 9
9
types :
10
10
- released
11
11
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
+
12
19
jobs :
13
20
docker-images :
14
21
runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ permissions:
17
17
security-events : none
18
18
statuses : none
19
19
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
+
20
27
jobs :
21
28
preview :
22
29
name : Docs preview
Original file line number Diff line number Diff line change 12
12
paths :
13
13
- " install.sh"
14
14
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
+
15
22
jobs :
16
23
ubuntu :
17
24
name : Test installer on Ubuntu
Original file line number Diff line number Diff line change 8
8
release :
9
9
types : [released]
10
10
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
+
11
18
jobs :
12
19
# NOTE: this job requires curl, jq and yarn
13
20
# All of them are included in ubuntu-latest.
Original file line number Diff line number Diff line change 14
14
- " **.sh"
15
15
- " **.bats"
16
16
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
+
17
36
jobs :
18
37
test :
19
38
name : Run script unit tests
You can’t perform that action at this time.
0 commit comments