Skip to content

Commit 7081b92

Browse files
authored
Merge branch 'main' into renovate/actions-checkout-3.x
2 parents 25ed473 + 83269ba commit 7081b92

File tree

7 files changed

+61
-0
lines changed

7 files changed

+61
-0
lines changed

.github/workflows/ci.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ on:
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

.github/workflows/codeql-analysis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ on:
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+
1320
jobs:
1421
analyze:
1522
name: Analyze

.github/workflows/docker.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ on:
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+
1219
jobs:
1320
docker-images:
1421
runs-on: ubuntu-20.04

.github/workflows/docs-preview.yaml

+7
Original file line numberDiff line numberDiff 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+
2027
jobs:
2128
preview:
2229
name: Docs preview

.github/workflows/installer.yml

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ on:
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+
1522
jobs:
1623
ubuntu:
1724
name: Test installer on Ubuntu

.github/workflows/npm-brew.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ on:
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+
1118
jobs:
1219
# NOTE: this job requires curl, jq and yarn
1320
# All of them are included in ubuntu-latest.

.github/workflows/scripts.yml

+19
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ on:
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+
1736
jobs:
1837
test:
1938
name: Run script unit tests

0 commit comments

Comments
 (0)