Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 29a5efd

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommittedDec 16, 2024·
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 0272ad5 commit 29a5efd

4 files changed

+78
-10
lines changed
 

‎.github/dependabot.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ version: 2
66
updates:
77
- package-ecosystem: github-actions
88
directory: /
9+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval
910
schedule:
10-
interval: daily
11+
interval: monthly
1112
open-pull-requests-limit: 1
1213
labels:
1314
- tag:bot

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
make-sure-label-is-present:
1717
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
1818
with:
19-
label: tag:run-build-and-test-differential
19+
label: run:build-and-test-differential
2020

2121
build-and-test-differential:
2222
needs: make-sure-label-is-present

‎.pre-commit-config-optional.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
repos:
66
- repo: https://github.com/tcort/markdown-link-check
7-
rev: v3.12.2
7+
rev: v3.13.6
88
hooks:
99
- id: markdown-link-check
1010
args: [--quiet, --config=.markdown-link-check.json]

‎.pre-commit-config.yaml

+74-7
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,109 @@
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"
3-
autoupdate_commit_msg: "ci(pre-commit): autoupdate"
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"
411

512
repos:
613
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
14+
rev: v5.0.0
815
hooks:
916
- id: check-json
1017
- id: check-merge-conflict
1118
- id: check-toml
1219
- id: check-xml
1320
- id: check-yaml
21+
args: [--unsafe]
1422
- id: detect-private-key
1523
- id: end-of-file-fixer
1624
- id: mixed-line-ending
1725
- id: trailing-whitespace
1826
args: [--markdown-linebreak-ext=md]
1927

2028
- repo: https://github.com/igorshubovych/markdownlint-cli
21-
rev: v0.34.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.9-for-vscode
35+
rev: v4.0.0-alpha.8
2836
hooks:
2937
- id: prettier
3038

3139
- repo: https://github.com/adrienverge/yamllint
32-
rev: v1.31.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:
47+
- id: flake8-ros
48+
- id: prettier-xacro
49+
- id: prettier-launch-xml
3950
- id: prettier-package-xml
51+
- id: ros-include-guard
4052
- id: sort-package-xml
4153

42-
exclude: .svg
54+
- repo: https://github.com/shellcheck-py/shellcheck-py
55+
rev: v0.10.0.1
56+
hooks:
57+
- id: shellcheck
58+
59+
- repo: https://github.com/scop/pre-commit-shfmt
60+
rev: v3.10.0-2
61+
hooks:
62+
- id: shfmt
63+
args: [-w, -s, -i=4]
64+
65+
- repo: https://github.com/pycqa/isort
66+
rev: 5.13.2
67+
hooks:
68+
- id: isort
69+
70+
- repo: https://github.com/psf/black
71+
rev: 24.10.0
72+
hooks:
73+
- id: black
74+
args: [--line-length=100]
75+
76+
- repo: https://github.com/pre-commit/mirrors-clang-format
77+
rev: v19.1.4
78+
hooks:
79+
- id: clang-format
80+
types_or: [c++, c, cuda]
81+
82+
- repo: https://github.com/cpplint/cpplint
83+
rev: 2.0.0
84+
hooks:
85+
- id: cpplint
86+
args: [--quiet]
87+
exclude: .cu
88+
89+
- repo: https://github.com/python-jsonschema/check-jsonschema
90+
rev: 0.30.0
91+
hooks:
92+
- id: check-metaschema
93+
files: ^.+/schema/.*schema\.json$
94+
95+
- repo: local
96+
hooks:
97+
- id: prettier-svg
98+
name: prettier svg
99+
description: Apply Prettier with plugin-xml to svg.
100+
entry: prettier --write --list-different --ignore-unknown --print-width 200 --xml-self-closing-space false --xml-whitespace-sensitivity ignore
101+
language: node
102+
files: .svg$
103+
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$

0 commit comments

Comments
 (0)
Please sign in to comment.