Skip to content

Commit 8084bed

Browse files
authored
Merge pull request #20 from tier4/sync-files
chore: sync files
2 parents 9e4be19 + c43dfd9 commit 8084bed

8 files changed

Lines changed: 20 additions & 13 deletions

.clang-format

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ BasedOnStyle: Google
44

55
AccessModifierOffset: -2
66
AlignAfterOpenBracket: AlwaysBreak
7+
AllowShortFunctionsOnASingleLine: InlineOnly
78
BraceWrapping:
89
AfterClass: true
910
AfterFunction: true
@@ -33,6 +34,9 @@ IncludeCategories:
3334
- Regex: .*_msgs/.*
3435
Priority: 3
3536
CaseSensitive: true
37+
- Regex: .*_srvs/.*
38+
Priority: 3
39+
CaseSensitive: true
3640
# Other Package headers
3741
- Regex: <.*>
3842
Priority: 2

.github/dependabot.yaml

Lines changed: 2 additions & 2 deletions
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/workflows/pre-commit-optional.yaml

Lines changed: 4 additions & 1 deletion
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

Lines changed: 2 additions & 7 deletions
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

Lines changed: 1 addition & 1 deletion
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

.markdown-link-check.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
{
55
"pattern": "^http://localhost"
66
},
7+
{
8+
"pattern": "^http://127\\.0\\.0\\.1"
9+
},
710
{
811
"pattern": "^https://github.com/.*/discussions/new"
912
}

.markdownlint.yaml

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 2 deletions
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]

0 commit comments

Comments
 (0)