Skip to content

Commit 8198288

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 3d8ffeb commit 8198288

10 files changed

+44
-24
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/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.event_name }}-${{ 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: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
push:
99
branches:
1010
- main
11-
- galactic
1211
paths:
1312
- mkdocs.yaml
1413
- "**/*.md"
@@ -22,15 +21,19 @@ on:
2221
- labeled
2322
workflow_dispatch:
2423

24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
26+
cancel-in-progress: true
27+
2528
jobs:
26-
prevent-no-label-execution:
27-
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
29+
make-sure-label-is-present:
30+
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
2831
with:
2932
label: run:deploy-docs
3033

3134
deploy-docs:
32-
needs: prevent-no-label-execution
33-
if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
35+
needs: make-sure-label-is-present
36+
if: ${{ github.event_name != 'pull_request_target' || needs.make-sure-label-is-present.outputs.result == 'true' }}
3437
runs-on: ubuntu-22.04
3538
steps:
3639
- name: Check out repository

.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-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/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.event_name }}-${{ 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/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

.pre-commit-config-optional.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
# https://pre-commit.ci/#configuration
66
ci:
77
autofix_commit_msg: "style(pre-commit-optional): autofix"
8-
# we already have our own daily update mechanism, we set this to quarterly
98
autoupdate_schedule: quarterly
109
autoupdate_commit_msg: "ci(pre-commit-optional): quarterly autoupdate"
1110

1211
repos:
1312
- repo: https://github.com/tcort/markdown-link-check
14-
rev: v3.13.7
13+
rev: v3.14.2
1514
hooks:
1615
- id: markdown-link-check
1716
args: [--quiet, --config=.markdown-link-check.json]

.pre-commit-config.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# https://pre-commit.ci/#configuration
66
ci:
77
autofix_commit_msg: "style(pre-commit): autofix"
8-
# we already have our own daily update mechanism, we set this to quarterly
98
autoupdate_schedule: quarterly
109
autoupdate_commit_msg: "ci(pre-commit): quarterly autoupdate"
1110

@@ -26,7 +25,7 @@ repos:
2625
args: [--markdown-linebreak-ext=md]
2726

2827
- repo: https://github.com/igorshubovych/markdownlint-cli
29-
rev: v0.45.0
28+
rev: v0.47.0
3029
hooks:
3130
- id: markdownlint
3231
args: [-c, .markdownlint.yaml, --fix]
@@ -35,9 +34,10 @@ repos:
3534
rev: v4.0.0-alpha.8
3635
hooks:
3736
- id: prettier
37+
args: [--no-error-on-unmatched-pattern]
3838

3939
- repo: https://github.com/adrienverge/yamllint
40-
rev: v1.37.1
40+
rev: v1.38.0
4141
hooks:
4242
- id: yamllint
4343

@@ -47,7 +47,7 @@ repos:
4747
- id: check-package-depends
4848

4949
- repo: https://github.com/tier4/pre-commit-hooks-ros
50-
rev: v0.10.0
50+
rev: v0.10.2
5151
hooks:
5252
- id: flake8-ros
5353
- id: prettier-xacro
@@ -68,18 +68,19 @@ repos:
6868
args: [-w, -s, -i=4]
6969

7070
- repo: https://github.com/pycqa/isort
71-
rev: 6.1.0
71+
rev: 7.0.0
7272
hooks:
7373
- id: isort
74+
args: [--profile=black, --line-length=100]
7475

7576
- repo: https://github.com/psf/black-pre-commit-mirror
76-
rev: 25.9.0
77+
rev: 26.1.0
7778
hooks:
7879
- id: black
7980
args: [--line-length=100]
8081

8182
- repo: https://github.com/pre-commit/mirrors-clang-format
82-
rev: v21.1.2
83+
rev: v21.1.8
8384
hooks:
8485
- id: clang-format
8586
types_or: [c++, c, cuda]
@@ -92,7 +93,7 @@ repos:
9293
exclude: .cu
9394

9495
- repo: https://github.com/python-jsonschema/check-jsonschema
95-
rev: 0.34.0
96+
rev: 0.36.2
9697
hooks:
9798
- id: check-metaschema
9899
files: ^.+/schema/.*schema\.json$

mkdocs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extra_css:
5050

5151
extra_javascript:
5252
- docs/assets/js/mathjax.js
53-
- https://polyfill.io/v3/polyfill.min.js?features=es6
53+
- https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6
5454
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
5555

5656
plugins:
@@ -97,6 +97,8 @@ markdown_extensions:
9797
- name: mermaid
9898
class: mermaid
9999
format: !!python/name:pymdownx.superfences.fence_code_format
100+
- pymdownx.tasklist:
101+
custom_checkbox: true
100102
- toc:
101103
permalink: "#"
102104
toc_depth: 3

0 commit comments

Comments
 (0)