Skip to content

Commit fb841a8

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 8421dfb commit fb841a8

12 files changed

+65
-36
lines changed

.github/workflows/build-and-test-differential.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ on:
1212
- reopened
1313
- labeled
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
jobs:
16-
make-sure-label-is-present:
17-
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
20+
require-label:
21+
uses: autowarefoundation/autoware-github-actions/.github/workflows/require-label.yaml@v1
1822
with:
1923
label: run:build-and-test-differential
2024

2125
build-and-test-differential:
22-
needs: make-sure-label-is-present
23-
if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }}
26+
needs: require-label
27+
if: ${{ needs.require-label.outputs.result == 'true' }}
2428
runs-on: ubuntu-22.04
2529
container: ${{ matrix.container }}
2630
strategy:

.github/workflows/build-and-test.yaml

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

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
build-and-test:
1519
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}

.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/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.event_name }}-${{ 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: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,21 @@
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: Consider removing this workflow if your `.pre-commit-config.yaml` is synced.
6+
57
name: pre-commit-autoupdate
68

79
on:
810
schedule:
911
- cron: 0 0 1 1,4,7,10 * # quarterly
1012
workflow_dispatch:
1113

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

18+
jobs:
1819
pre-commit-autoupdate:
19-
needs: check-secret
20-
if: ${{ needs.check-secret.outputs.set == 'true' }}
2120
runs-on: ubuntu-22.04
2221
steps:
2322
- name: Generate token

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

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

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
pre-commit-optional:
1216
runs-on: ubuntu-22.04

.github/workflows/spell-check-differential.yaml

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

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
spell-check-differential:
1216
runs-on: ubuntu-22.04

.github/workflows/sync-files.yaml

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

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

16+
jobs:
1817
sync-files:
19-
needs: check-secret
20-
if: ${{ needs.check-secret.outputs.set == 'true' }}
2118
runs-on: ubuntu-22.04
2219
steps:
2320
- name: Generate token

.github/workflows/update-codeowners-from-packages.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.event_name }}-${{ 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

.markdownlint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ MD041: false
1414
MD045: false
1515
MD046: false
1616
MD049: false
17+
MD059: false

0 commit comments

Comments
 (0)