Skip to content

Commit 4eab444

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 c49875d commit 4eab444

13 files changed

+99
-18
lines changed

.github/dependabot.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
version: 2
26
updates:
37
- package-ecosystem: github-actions
48
directory: /
9+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval
510
schedule:
6-
interval: daily
11+
interval: monthly
712
open-pull-requests-limit: 1
813
labels:
914
- tag:bot

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out repository
13-
uses: actions/checkout@v5
13+
uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
1616

.github/workflows/deploy-docs.yaml

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,19 @@ on:
1919
workflow_dispatch:
2020

2121
jobs:
22-
prevent-no-label-execution:
23-
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
22+
require-label:
23+
if: ${{ github.event_name == 'pull_request_target' }}
24+
uses: autowarefoundation/autoware-github-actions/.github/workflows/require-label.yaml@v1
2425
with:
2526
label: tag:deploy-docs
2627

27-
deploy-docs:
28-
needs: prevent-no-label-execution
29-
if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
28+
deploy-docs-pr:
29+
if: ${{ github.event_name == 'pull_request_target' && needs.require-label.outputs.result == 'true' }}
30+
needs: require-label
3031
runs-on: ubuntu-latest
3132
steps:
3233
- name: Check out repository
33-
uses: actions/checkout@v5
34+
uses: actions/checkout@v4
3435
with:
3536
fetch-depth: 0
3637
ref: ${{ github.event.pull_request.head.sha }}
@@ -39,4 +40,34 @@ jobs:
3940
uses: autowarefoundation/autoware-github-actions/deploy-docs@v1
4041
with:
4142
token: ${{ secrets.GITHUB_TOKEN }}
42-
latest: ${{ github.event_name != 'pull_request_target' && github.ref_name == github.event.repository.default_branch }}
43+
latest: false
44+
45+
deploy-docs-push:
46+
if: ${{ github.event_name == 'push' }}
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Check out repository
50+
uses: actions/checkout@v4
51+
with:
52+
fetch-depth: 0
53+
54+
- name: Deploy docs
55+
uses: autowarefoundation/autoware-github-actions/deploy-docs@v1
56+
with:
57+
token: ${{ secrets.GITHUB_TOKEN }}
58+
latest: ${{ github.ref_name == github.event.repository.default_branch }}
59+
60+
deploy-docs-workflow-dispatch:
61+
if: ${{ github.event_name == 'workflow_dispatch' }}
62+
runs-on: ubuntu-latest
63+
steps:
64+
- name: Check out repository
65+
uses: actions/checkout@v4
66+
with:
67+
fetch-depth: 0
68+
69+
- name: Deploy docs
70+
uses: autowarefoundation/autoware-github-actions/deploy-docs@v1
71+
with:
72+
token: ${{ secrets.GITHUB_TOKEN }}
73+
latest: false

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: pre-commit-optional
26

37
on:
48
pull_request:
59

610
jobs:
711
pre-commit-optional:
8-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
913
steps:
1014
- name: Check out repository
11-
uses: actions/checkout@v5
15+
uses: actions/checkout@v4
1216
with:
1317
fetch-depth: 0
1418

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
private_key: ${{ secrets.PRIVATE_KEY }}
1717

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: semantic-pull-request
26

37
on:
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: spell-check-differential
26

37
on:
48
pull_request:
59

610
jobs:
711
spell-check-differential:
8-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
913
steps:
1014
- name: Check out repository
11-
uses: actions/checkout@v5
15+
uses: actions/checkout@v4
1216

1317
- name: Run spell-check
1418
uses: autowarefoundation/autoware-github-actions/spell-check@v1
1519
with:
16-
cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json
20+
cspell-json-url: https://raw.githubusercontent.com/autowarefoundation/autoware-spell-check-dict/main/.cspell.json
21+
dict-packages: |
22+
https://github.com/autowarefoundation/autoware-spell-check-dict
23+
https://github.com/tier4/cspell-dicts

.markdownlint.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for all rules.
26
default: true
37
MD013: false
@@ -7,5 +11,7 @@ MD029:
711
style: ordered
812
MD033: false
913
MD041: false
14+
MD045: false
1015
MD046: false
1116
MD049: false
17+
MD059: false

.pre-commit-config-optional.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
5+
# https://pre-commit.ci/#configuration
6+
ci:
7+
autofix_commit_msg: "style(pre-commit-optional): autofix"
8+
# we already have our own daily update mechanism, we set this to quarterly
9+
autoupdate_schedule: quarterly
10+
autoupdate_commit_msg: "ci(pre-commit-optional): quarterly autoupdate"
11+
112
repos:
213
- repo: https://github.com/tcort/markdown-link-check
3-
rev: v3.11.2
14+
rev: v3.13.7
415
hooks:
516
- id: markdown-link-check
617
args: [--quiet, --config=.markdown-link-check.json]

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
*.param.yaml
26
*.rviz

0 commit comments

Comments
 (0)