Skip to content

Commit 3f07e43

Browse files
author
github-actions
authored
chore: sync files
Signed-off-by: GitHub <[email protected]>
1 parent 0c1c706 commit 3f07e43

13 files changed

+47
-38
lines changed

.github/dependabot.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ updates:
66
interval: daily
77
open-pull-requests-limit: 1
88
labels:
9-
- bot
10-
- github-actions
9+
- tag:bot
10+
- type:github-actions

.github/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
daysUntilClose: false
55

66
# Label to use when marking as stale
7-
staleLabel: stale
7+
staleLabel: status:stale
88

99
# Comment to post when marking as stale
1010
markComment: >

.github/workflows/deploy-docs.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- galactic
78
paths:
89
- mkdocs.yaml
910
- "**/*.md"
@@ -21,7 +22,7 @@ jobs:
2122
prevent-no-label-execution:
2223
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
2324
with:
24-
label: documentation
25+
label: tag:deploy-docs
2526

2627
deploy-docs:
2728
needs: prevent-no-label-execution

.github/workflows/github-release.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
REF_NAME="${{ github.ref_name }}"
2727
fi
2828
29-
echo ::set-output name=ref-name::"$REF_NAME"
30-
echo ::set-output name=tag-name::"${REF_NAME#beta/}"
29+
echo "ref-name=$REF_NAME" >> $GITHUB_OUTPUT
30+
echo "tag-name=${REF_NAME#beta/}" >> $GITHUB_OUTPUT
3131
3232
- name: Check out repository
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 0
3636
ref: ${{ steps.set-tag-name.outputs.ref-name }}
@@ -39,7 +39,7 @@ jobs:
3939
id: set-target-name
4040
run: |
4141
if [[ "${{ steps.set-tag-name.outputs.ref-name }}" =~ "beta/" ]]; then
42-
echo ::set-output name=target-name::"${{ steps.set-tag-name.outputs.ref-name }}"
42+
echo "target-name=${{ steps.set-tag-name.outputs.ref-name }}" >> $GITHUB_OUTPUT
4343
fi
4444
4545
- name: Create a local tag for beta branches
@@ -62,7 +62,7 @@ jobs:
6262
verb=edit
6363
fi
6464
65-
echo ::set-output name=verb::"$verb"
65+
echo "verb=$verb" >> $GITHUB_OUTPUT
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out repository
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
1214

1315
- name: Run pre-commit
1416
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
1517
with:
1618
pre-commit-config: .pre-commit-config-optional.yaml
19+
base-branch: origin/${{ github.base_ref }}

.github/workflows/pre-commit.yaml

+2-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
pre-commit:
8-
if: ${{ github.event.repository.private }}
8+
if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Generate token
@@ -16,15 +16,10 @@ jobs:
1616
private_key: ${{ secrets.PRIVATE_KEY }}
1717

1818
- name: Check out repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
ref: ${{ github.event.pull_request.head.ref }}
2222

23-
- name: Set git config
24-
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
25-
with:
26-
token: ${{ steps.generate-token.outputs.token }}
27-
2823
- name: Run pre-commit
2924
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
3025
with:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out repository
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Run spell-check
1414
uses: autowarefoundation/autoware-github-actions/spell-check@v1

.github/workflows/sync-files.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
with:
2929
token: ${{ steps.generate-token.outputs.token }}
3030
pr-labels: |
31-
bot
32-
sync-files
31+
tag:bot
32+
tag:sync-files
3333
auto-merge-method: squash

.markdownlint.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ default: true
33
MD013: false
44
MD024:
55
siblings_only: true
6+
MD029:
7+
style: ordered
68
MD033: false
79
MD041: false
810
MD046: false

.pre-commit-config-optional.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/tcort/markdown-link-check
3-
rev: v3.10.0
3+
rev: v3.11.2
44
hooks:
55
- id: markdown-link-check
6-
args: [--config=.markdown-link-check.json]
6+
args: [--quiet, --config=.markdown-link-check.json]

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
ci:
2-
autofix_commit_msg: "ci(pre-commit): autofix"
2+
autofix_commit_msg: "style(pre-commit): autofix"
33
autoupdate_commit_msg: "ci(pre-commit): autoupdate"
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.3.0
7+
rev: v4.4.0
88
hooks:
99
- id: check-json
1010
- id: check-merge-conflict
@@ -19,29 +19,29 @@ repos:
1919
args: [--markdown-linebreak-ext=md]
2020

2121
- repo: https://github.com/igorshubovych/markdownlint-cli
22-
rev: v0.32.1
22+
rev: v0.32.2
2323
hooks:
2424
- id: markdownlint
2525
args: [-c, .markdownlint.yaml, --fix]
2626

2727
- repo: https://github.com/pre-commit/mirrors-prettier
28-
rev: v2.7.1
28+
rev: v3.0.0-alpha.4
2929
hooks:
3030
- id: prettier
3131

3232
- repo: https://github.com/adrienverge/yamllint
33-
rev: v1.27.1
33+
rev: v1.28.0
3434
hooks:
3535
- id: yamllint
3636
exclude: .*.param.yaml
3737

3838
- repo: https://github.com/shellcheck-py/shellcheck-py
39-
rev: v0.8.0.4
39+
rev: v0.9.0.2
4040
hooks:
4141
- id: shellcheck
4242

4343
- repo: https://github.com/scop/pre-commit-shfmt
44-
rev: v3.5.1-1
44+
rev: v3.6.0-1
4545
hooks:
4646
- id: shfmt
4747
args: [-w, -s, -i=4]

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
63+
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the

mkdocs.yaml

+16-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ site_url: https://autowarefoundation.github.io/open-ad-kit-docs
33
repo_url: https://github.com/autowarefoundation/open-ad-kit-docs
44
edit_uri: https://github.com/autowarefoundation/open-ad-kit-docs/edit/main/docs/
55
docs_dir: docs
6-
copyright: Copyright &copy; 2022 The Autoware Foundation
6+
copyright: Copyright &copy; 2023 The Autoware Foundation
77

88
theme:
99
name: material
@@ -15,6 +15,7 @@ theme:
1515
- navigation.tabs
1616
- navigation.tabs.sticky
1717
- navigation.top
18+
- navigation.footer
1819
favicon: assets/images/autoware-foundation.png
1920
icon:
2021
logo: fontawesome/solid/car
@@ -44,15 +45,20 @@ extra_css:
4445
- https://use.fontawesome.com/releases/v5.15.4/css/all.css
4546

4647
extra_javascript:
47-
- https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
48+
- assets/js/mathjax.js
49+
- https://polyfill.io/v3/polyfill.min.js?features=es6
50+
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
4851

4952
plugins:
5053
- awesome-pages
5154
- exclude:
5255
regex:
53-
- ^(?!(.*/)?assets/).*\.(?!(.*\.)?md|(.*\.)?svg|(.*\.)?png|(.*\.)?jpg).*$
56+
- ^(?!(.*/)?assets/).*\.(?!(.*\.)?md|(.*\.)?svg|(.*\.)?png|(.*\.)?gif|(.*\.)?jpg).*$
5457
- ^(.*/)?[^.]*$
55-
- macros
58+
- macros:
59+
include_yaml:
60+
- autoware_interfaces: yaml/autoware-interfaces.yaml
61+
- mkdocs-video
5662
- same-dir
5763
- search
5864

@@ -62,19 +68,21 @@ markdown_extensions:
6268
- attr_list
6369
- codehilite:
6470
guess_lang: false
65-
- pymdownx.emoji:
66-
emoji_index: !!python/name:materialx.emoji.twemoji
67-
emoji_generator: !!python/name:materialx.emoji.to_svg
6871
- fontawesome_markdown
6972
- footnotes
73+
- md_in_html
7074
- mdx_math
7175
- mdx_truly_sane_lists:
7276
nested_indent: 2
7377
- plantuml_markdown:
7478
server: http://www.plantuml.com/plantuml
7579
format: svg
76-
- pymdownx.arithmatex
80+
- pymdownx.arithmatex:
81+
generic: true
7782
- pymdownx.details
83+
- pymdownx.emoji:
84+
emoji_index: !!python/name:materialx.emoji.twemoji
85+
emoji_generator: !!python/name:materialx.emoji.to_svg
7886
- pymdownx.highlight
7987
- pymdownx.snippets:
8088
auto_append:

0 commit comments

Comments
 (0)