Skip to content

Commit 3d81198

Browse files
chore: sync files (#25)
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: isamu-takagi <isamu-takagi@users.noreply.github.com>
1 parent 5b1847c commit 3d81198

9 files changed

+28
-26
lines changed

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

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
uses: styfle/cancel-workflow-action@0.9.1
1313

1414
- name: Check out repository
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Remove exec_depend
20-
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@tier4/proposal
20+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
2121

2222
- name: Get modified packages
2323
id: get-modified-packages
24-
uses: autowarefoundation/autoware-github-actions/get-modified-packages@tier4/proposal
24+
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
2525

2626
- name: Build
2727
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
28-
uses: autowarefoundation/autoware-github-actions/colcon-build@tier4/proposal
28+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
2929
with:
3030
rosdistro: galactic
3131
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
@@ -34,7 +34,7 @@ jobs:
3434
- name: Test
3535
id: test
3636
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
37-
uses: autowarefoundation/autoware-github-actions/colcon-test@tier4/proposal
37+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
3838
with:
3939
rosdistro: galactic
4040
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
@@ -54,22 +54,22 @@ jobs:
5454
needs: build-and-test-differential
5555
steps:
5656
- name: Check out repository
57-
uses: actions/checkout@v2
57+
uses: actions/checkout@v3
5858
with:
5959
fetch-depth: 0
6060

6161
- name: Remove exec_depend
62-
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@tier4/proposal
62+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
6363

6464
- name: Get modified packages
6565
id: get-modified-packages
66-
uses: autowarefoundation/autoware-github-actions/get-modified-packages@tier4/proposal
66+
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
6767

6868
- name: Run clang-tidy
6969
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
70-
uses: autowarefoundation/autoware-github-actions/clang-tidy@tier4/proposal
70+
uses: autowarefoundation/autoware-github-actions/clang-tidy@v1
7171
with:
7272
rosdistro: galactic
7373
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
74-
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/tier4/proposal/.clang-tidy
74+
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
7575
build-depends-repos: build_depends.repos

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: build-and-test
33
on:
44
push:
55
schedule:
6-
- cron: 0 19 * * * # run at 4 AM JST
6+
- cron: 0 0 * * *
77
workflow_dispatch:
88

99
jobs:
@@ -13,18 +13,18 @@ jobs:
1313
container: ghcr.io/autowarefoundation/autoware-universe:latest
1414
steps:
1515
- name: Check out repository
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717

1818
- name: Remove exec_depend
19-
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@tier4/proposal
19+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
2020

2121
- name: Get self packages
2222
id: get-self-packages
23-
uses: autowarefoundation/autoware-github-actions/get-self-packages@tier4/proposal
23+
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
2424

2525
- name: Build
2626
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
27-
uses: autowarefoundation/autoware-github-actions/colcon-build@tier4/proposal
27+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
2828
with:
2929
rosdistro: galactic
3030
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
@@ -33,7 +33,7 @@ jobs:
3333
- name: Test
3434
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
3535
id: test
36-
uses: autowarefoundation/autoware-github-actions/colcon-test@tier4/proposal
36+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
3737
with:
3838
rosdistro: galactic
3939
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}

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

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

1313
- name: Run pre-commit
14-
uses: autowarefoundation/autoware-github-actions/pre-commit@tier4/proposal
14+
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
1515
with:
1616
pre-commit-config: .pre-commit-config-optional.yaml

.github/workflows/pre-commit.yaml

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

1313
- name: Run pre-commit
14-
uses: autowarefoundation/autoware-github-actions/pre-commit@tier4/proposal
14+
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
1515
with:
1616
pre-commit-config: .pre-commit-config.yaml

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ on:
99

1010
jobs:
1111
semantic-pull-request:
12-
uses: autowarefoundation/autoware-github-actions/.github/workflows/semantic-pull-request.yaml@tier4/proposal
12+
uses: autowarefoundation/autoware-github-actions/.github/workflows/semantic-pull-request.yaml@v1

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

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

1313
- name: Run spell-check
14-
uses: autowarefoundation/autoware-github-actions/spell-check@tier4/proposal
14+
uses: autowarefoundation/autoware-github-actions/spell-check@v1
1515
with:
1616
cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json

.github/workflows/sync-files.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: sync-files
22

33
on:
44
schedule:
5-
- cron: 0 19 * * * # run at 4 AM JST
5+
- cron: 0 0 * * *
66
workflow_dispatch:
77

88
jobs:
@@ -17,6 +17,6 @@ jobs:
1717
private_key: ${{ secrets.PRIVATE_KEY }}
1818

1919
- name: Run sync-files
20-
uses: autowarefoundation/autoware-github-actions/sync-files@tier4/proposal
20+
uses: autowarefoundation/autoware-github-actions/sync-files@v1
2121
with:
2222
token: ${{ steps.generate-token.outputs.token }}

.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ repos:
3636
- repo: https://github.com/tier4/pre-commit-hooks-ros
3737
rev: v0.5.1
3838
hooks:
39+
- id: prettier-xacro
40+
- id: prettier-launch-xml
3941
- id: prettier-package-xml
4042
- id: sort-package-xml
4143
- id: ros-include-guard

CPPLINT.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ filter=-whitespace/braces # we wrap open curly braces for namespaces, cl
99
filter=-whitespace/indent # we don't indent keywords like public, protected and private with one space
1010
filter=-whitespace/parens # we allow closing parenthesis to be on the next line
1111
filter=-whitespace/semicolon # we allow the developer to decide about whitespace after a semicolon
12-
filter=-build/header_guard # TODO(Kenji Miyake): Support ROS-style rule in cpplint or add auto-fix script in pre-commit
12+
filter=-build/header_guard # we automatically fix the names of header guards using pre-commit
1313
filter=-build/include_order # we use the custom include order

0 commit comments

Comments
 (0)