Skip to content

Commit 439e9ea

Browse files
chore: sync files (#42)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: M. Fatih Cırıt <mfc@autoware.org>
1 parent bcdd36d commit 439e9ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+206
-28
lines changed

.clang-format

+4
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
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
26
Language: Cpp
37
BasedOnStyle: Google

.clang-tidy

+6-1
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
Checks: "
26
-*,
37
boost-use-to-string,
@@ -202,7 +206,8 @@ WarningsAsErrors: "
202206

203207
HeaderFilterRegex: ^(?!\/usr)(?!\/opt)
204208

205-
AnalyzeTemporaryDtors: false
209+
ExtraArgs:
210+
- -std=c++17
206211

207212
FormatStyle: none
208213

.github/ISSUE_TEMPLATE/bug.yaml

+4
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: Bug
26
description: Report a bug
37
body:

.github/ISSUE_TEMPLATE/config.yml

+4
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
blank_issues_enabled: false
26
contact_links:
37
- name: Question

.github/ISSUE_TEMPLATE/task.yaml

+4
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: Task
26
description: Plan a task
37
body:

.github/dependabot.yaml

+6-1
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/pull_request_template.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Description
2+
3+
## How was this PR tested?
4+
5+
## Notes for reviewers
6+
7+
None.
8+
9+
## Effects on system behavior
10+
11+
None.

.github/stale.yml

+4
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
# Modified from https://github.com/probot/stale#usage
26

37
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed
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: cancel-previous-workflows
26

37
on:
48
pull_request_target:
59

610
jobs:
711
cancel-previous-workflows:
8-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
913
steps:
1014
- name: Cancel previous runs
11-
uses: styfle/cancel-workflow-action@0.12.0
15+
uses: styfle/cancel-workflow-action@0.12.1
1216
with:
1317
workflow_id: all
1418
all_but_latest: true

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

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
name: comment-on-pr
6+
on:
7+
pull_request_target:
8+
9+
jobs:
10+
comment-on-pr:
11+
runs-on: ubuntu-22.04
12+
permissions:
13+
pull-requests: write
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v4
17+
18+
- name: Initial PR comment
19+
uses: marocchino/sticky-pull-request-comment@v2
20+
with:
21+
message: |
22+
Thank you for contributing to the Autoware project!
23+
24+
🚧 If your pull request is in progress, [switch it to draft mode](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).
25+
26+
Please ensure:
27+
- You've checked our [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/).
28+
- Your PR follows our [pull request guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/).
29+
- All required CI checks pass before [marking the PR ready for review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review).

.github/workflows/github-release.yaml

+5-1
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: github-release
26

37
on:
@@ -15,7 +19,7 @@ on:
1519

1620
jobs:
1721
github-release:
18-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
1923
steps:
2024
- name: Set tag name
2125
id: set-tag-name

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
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-autoupdate
26

37
on:
48
schedule:
5-
- cron: 0 0 * * *
9+
- cron: 0 0 1 1,4,7,10 * # quarterly
610
workflow_dispatch:
711

812
jobs:
@@ -14,7 +18,7 @@ jobs:
1418
pre-commit-autoupdate:
1519
needs: check-secret
1620
if: ${{ needs.check-secret.outputs.set == 'true' }}
17-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
1822
steps:
1923
- name: Generate token
2024
id: generate-token

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
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
1115
uses: actions/checkout@v4

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

+4
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:
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
1115
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

.github/workflows/sync-files.yaml

+5-1
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: sync-files
26

37
on:
@@ -14,7 +18,7 @@ jobs:
1418
sync-files:
1519
needs: check-secret
1620
if: ${{ needs.check-secret.outputs.set == 'true' }}
17-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
1822
steps:
1923
- name: Generate token
2024
id: generate-token

.markdownlint.yaml

+5
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,6 @@ MD029:
711
style: ordered
812
MD033: false
913
MD041: false
14+
MD045: false
1015
MD046: false
1116
MD049: false

.pre-commit-config-optional.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
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
repos:
26
- repo: https://github.com/tcort/markdown-link-check
3-
rev: v3.11.2
7+
rev: v3.12.2
48
hooks:
59
- id: markdown-link-check
610
args: [--quiet, --config=.markdown-link-check.json]

.pre-commit-config.yaml

+26-12
Original file line numberDiff line numberDiff line change
@@ -1,9 +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
16
ci:
27
autofix_commit_msg: "style(pre-commit): 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): quarterly autoupdate"
311

412
repos:
513
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.4.0
14+
rev: v5.0.0
715
hooks:
816
- id: check-json
917
- id: check-merge-conflict
@@ -18,23 +26,23 @@ repos:
1826
args: [--markdown-linebreak-ext=md]
1927

2028
- repo: https://github.com/igorshubovych/markdownlint-cli
21-
rev: v0.33.0
29+
rev: v0.43.0
2230
hooks:
2331
- id: markdownlint
2432
args: [-c, .markdownlint.yaml, --fix]
2533

2634
- repo: https://github.com/pre-commit/mirrors-prettier
27-
rev: v3.0.0-alpha.6
35+
rev: v4.0.0-alpha.8
2836
hooks:
2937
- id: prettier
3038

3139
- repo: https://github.com/adrienverge/yamllint
32-
rev: v1.30.0
40+
rev: v1.35.1
3341
hooks:
3442
- id: yamllint
3543

3644
- repo: https://github.com/tier4/pre-commit-hooks-ros
37-
rev: v0.8.0
45+
rev: v0.10.0
3846
hooks:
3947
- id: flake8-ros
4048
- id: prettier-xacro
@@ -44,42 +52,42 @@ repos:
4452
- id: sort-package-xml
4553

4654
- repo: https://github.com/shellcheck-py/shellcheck-py
47-
rev: v0.9.0.2
55+
rev: v0.10.0.1
4856
hooks:
4957
- id: shellcheck
5058

5159
- repo: https://github.com/scop/pre-commit-shfmt
52-
rev: v3.6.0-2
60+
rev: v3.10.0-2
5361
hooks:
5462
- id: shfmt
5563
args: [-w, -s, -i=4]
5664

5765
- repo: https://github.com/pycqa/isort
58-
rev: 5.12.0
66+
rev: 5.13.2
5967
hooks:
6068
- id: isort
6169

6270
- repo: https://github.com/psf/black
63-
rev: 23.3.0
71+
rev: 24.10.0
6472
hooks:
6573
- id: black
6674
args: [--line-length=100]
6775

6876
- repo: https://github.com/pre-commit/mirrors-clang-format
69-
rev: v16.0.0
77+
rev: v19.1.5
7078
hooks:
7179
- id: clang-format
7280
types_or: [c++, c, cuda]
7381

7482
- repo: https://github.com/cpplint/cpplint
75-
rev: 1.6.1
83+
rev: 2.0.0
7684
hooks:
7785
- id: cpplint
7886
args: [--quiet]
7987
exclude: .cu
8088

8189
- repo: https://github.com/python-jsonschema/check-jsonschema
82-
rev: 0.23.2
90+
rev: 0.30.0
8391
hooks:
8492
- id: check-metaschema
8593
files: ^.+/schema/.*schema\.json$
@@ -93,3 +101,9 @@ repos:
93101
language: node
94102
files: .svg$
95103
additional_dependencies: [prettier@2.7.1, "@prettier/plugin-xml@2.2.0"]
104+
105+
- repo: https://github.com/AleksaC/hadolint-py
106+
rev: v2.12.1b3
107+
hooks:
108+
- id: hadolint
109+
exclude: .svg$

.prettierignore

+4
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

.prettierrc.yaml

+4
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
printWidth: 100
26
tabWidth: 2
37
overrides:

0 commit comments

Comments
 (0)