Skip to content

Commit 073a84b

Browse files
github-actionsgithub-actions[bot]
authored andcommitted
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 06a4426 commit 073a84b

17 files changed

+76
-15
lines changed

.github/workflows/cancel-previous-workflows.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# https://github.com/autowarefoundation/sync-file-templates
33
# To make changes, update the source repository and follow the guidelines in its README.
44

5+
# Deprecated: Use concurrency in each workflow instead.
6+
57
name: cancel-previous-workflows
68

79
on:

.github/workflows/clang-tidy-pr-comments-manually.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
workflow_run_id_or_url:
1111
description: The target workflow run ID or URL of the build-and-test-differential workflow
1212
required: true
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1318
jobs:
1419
clang-tidy-pr-comments-manually:
1520
runs-on: ubuntu-22.04

.github/workflows/clang-tidy-pr-comments.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
types:
1212
- completed
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
clang-tidy-pr-comments:
1620
if: ${{ github.event.workflow_run.event == 'pull_request' && contains(fromJson('["success", "failure"]'), github.event.workflow_run.conclusion) }}

.github/workflows/comment-on-pr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ name: comment-on-pr
66
on:
77
pull_request_target:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
comment-on-pr:
1115
runs-on: ubuntu-22.04

.github/workflows/delete-closed-pr-docs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
- cron: 0 0 * * *
1010
workflow_dispatch:
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
delete-closed-pr-docs:
1418
runs-on: ubuntu-22.04

.github/workflows/deploy-docs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
- labeled
2323
workflow_dispatch:
2424

25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.ref }}
27+
cancel-in-progress: true
28+
2529
jobs:
2630
prevent-no-label-execution:
2731
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1

.github/workflows/github-release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
type: string
1616
required: true
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
jobs:
1923
github-release:
2024
runs-on: ubuntu-22.04
@@ -60,7 +64,7 @@ jobs:
6064
run: |
6165
gh release ${{ steps.select-verb.outputs.verb }} "${{ steps.set-tag-name.outputs.tag-name }}" \
6266
--draft \
63-
--title "Release ${{ steps.set-tag-name.outputs.tag-name }}" \
67+
--title "${{ steps.set-tag-name.outputs.tag-name }}" \
6468
--notes "$NOTES"
6569
env:
6670
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pre-commit-autoupdate.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
- cron: 0 0 1 1,4,7,10 * # quarterly
1010
workflow_dispatch:
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
check-secret:
1418
uses: autowarefoundation/autoware-github-actions/.github/workflows/check-secret.yaml@v1

.github/workflows/pre-commit.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ name: pre-commit
77
on:
88
pull_request:
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
pre-commit:
1216
if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories

.github/workflows/semantic-pull-request.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- edited
1212
- synchronize
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
semantic-pull-request:
1620
uses: autowarefoundation/autoware-github-actions/.github/workflows/semantic-pull-request.yaml@v1

0 commit comments

Comments
 (0)