Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 39b9635

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommitted
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a74a6cc commit 39b9635

15 files changed

+103
-71
lines changed

.github/PULL_REQUEST_TEMPLATE/small-change.md

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
<!-- Write a brief description of this PR. -->
44

5+
## Tests performed
6+
7+
<!-- Describe how you have tested this PR. -->
8+
<!-- Although the default value is set to "Not Applicable.", please update this section if the type is either [feat, fix, perf], or if requested by the reviewers. -->
9+
10+
Not applicable.
11+
12+
## Effects on system behavior
13+
14+
<!-- Describe how this PR affects the system behavior. -->
15+
16+
Not applicable.
17+
18+
## Interface changes
19+
20+
<!-- Describe any changed interfaces, such as topics, services, or parameters, including debugging interfaces -->
21+
522
## Pre-review checklist for the PR author
623

724
The PR author **must** check the checkboxes below when creating the PR.

.github/PULL_REQUEST_TEMPLATE/standard-change.md

+21
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,27 @@
1414

1515
<!-- Write additional information if necessary. It should be written if there are related PRs that should be merged at the same time. -->
1616

17+
## Interface changes
18+
19+
<!-- Describe any changed interfaces, such as topics, services, or parameters. -->
20+
21+
### ROS Topic Changes
22+
23+
<!-- | Topic Name | Type | Direction | Update Description | -->
24+
<!-- | ---------------- | ------------------- | --------- | ------------------------------------------------------------- | -->
25+
<!-- | `/example_topic` | `std_msgs/String` | Subscribe | Description of what the topic is used for in the system | -->
26+
<!-- | `/another_topic` | `sensor_msgs/Image` | Publish | Also explain if it is added / modified / deleted with the PR | -->
27+
28+
### ROS Parameter Changes
29+
30+
<!-- | Parameter Name | Default Value | Update Description | -->
31+
<!-- | -------------------- | ------------- | --------------------------------------------------- | -->
32+
<!-- | `example_parameters` | `1.0` | Describe the parameter and also explain the updates | -->
33+
34+
## Effects on system behavior
35+
36+
<!-- Describe how this PR affects the system behavior. -->
37+
1738
## Pre-review checklist for the PR author
1839

1940
The PR author **must** check the checkboxes below when creating the PR.

.github/dependabot.yaml

+2-2
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/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
daysUntilClose: false
55

66
# Label to use when marking as stale
7-
staleLabel: stale
7+
staleLabel: status:stale
88

99
# Comment to post when marking as stale
1010
markComment: >

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

+25-38
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,21 @@ name: build-and-test-differential
22

33
on:
44
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- labeled
510

611
jobs:
12+
make-sure-label-is-present:
13+
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
14+
with:
15+
label: tag:run-build-and-test-differential
16+
717
build-and-test-differential:
18+
needs: make-sure-label-is-present
19+
if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }}
820
runs-on: ubuntu-latest
921
container: ${{ matrix.container }}
1022
strategy:
@@ -17,10 +29,17 @@ jobs:
1729
container: ros:humble
1830
build-depends-repos: build_depends.repos
1931
steps:
20-
- name: Check out repository
21-
uses: actions/checkout@v3
32+
- name: Set PR fetch depth
33+
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
34+
35+
- name: Checkout PR branch and all PR commits
36+
uses: actions/checkout@v4
2237
with:
23-
fetch-depth: 0
38+
ref: ${{ github.event.pull_request.head.sha }}
39+
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
40+
41+
- name: Show disk space before the tasks
42+
run: df -h
2443

2544
- name: Remove exec_depend
2645
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -48,44 +67,12 @@ jobs:
4867

4968
- name: Upload coverage to CodeCov
5069
if: ${{ steps.test.outputs.coverage-report-files != '' }}
51-
uses: codecov/codecov-action@v3
70+
uses: codecov/codecov-action@v4
5271
with:
5372
files: ${{ steps.test.outputs.coverage-report-files }}
5473
fail_ci_if_error: false
5574
verbose: true
5675
flags: differential
5776

58-
clang-tidy-differential:
59-
runs-on: ubuntu-latest
60-
container: ros:humble
61-
needs: build-and-test-differential
62-
steps:
63-
- name: Check out repository
64-
uses: actions/checkout@v3
65-
with:
66-
fetch-depth: 0
67-
68-
- name: Remove exec_depend
69-
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
70-
71-
- name: Get modified packages
72-
id: get-modified-packages
73-
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
74-
75-
- name: Get modified files
76-
id: get-modified-files
77-
uses: tj-actions/changed-files@v34
78-
with:
79-
files: |
80-
**/*.cpp
81-
**/*.hpp
82-
83-
- name: Run clang-tidy
84-
if: ${{ steps.get-modified-files.outputs.all_changed_files != '' }}
85-
uses: autowarefoundation/autoware-github-actions/clang-tidy@v1
86-
with:
87-
rosdistro: humble
88-
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
89-
target-files: ${{ steps.get-modified-files.outputs.all_changed_files }}
90-
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
91-
build-depends-repos: build_depends.repos
77+
- name: Show disk space after the tasks
78+
run: df -h

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

+10-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ jobs:
2222
build-depends-repos: build_depends.repos
2323
steps:
2424
- name: Check out repository
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 1
28+
29+
- name: Show disk space before the tasks
30+
run: df -h
2631

2732
- name: Remove exec_depend
2833
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -50,9 +55,12 @@ jobs:
5055

5156
- name: Upload coverage to CodeCov
5257
if: ${{ steps.test.outputs.coverage-report-files != '' }}
53-
uses: codecov/codecov-action@v3
58+
uses: codecov/codecov-action@v4
5459
with:
5560
files: ${{ steps.test.outputs.coverage-report-files }}
5661
fail_ci_if_error: false
5762
verbose: true
5863
flags: total
64+
65+
- name: Show disk space after the tasks
66+
run: df -h

.github/workflows/github-release.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
REF_NAME="${{ github.ref_name }}"
2727
fi
2828
29-
echo ::set-output name=ref-name::"$REF_NAME"
30-
echo ::set-output name=tag-name::"${REF_NAME#beta/}"
29+
echo "ref-name=$REF_NAME" >> $GITHUB_OUTPUT
30+
echo "tag-name=${REF_NAME#beta/}" >> $GITHUB_OUTPUT
3131
3232
- name: Check out repository
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 0
3636
ref: ${{ steps.set-tag-name.outputs.ref-name }}
@@ -39,7 +39,7 @@ jobs:
3939
id: set-target-name
4040
run: |
4141
if [[ "${{ steps.set-tag-name.outputs.ref-name }}" =~ "beta/" ]]; then
42-
echo ::set-output name=target-name::"${{ steps.set-tag-name.outputs.ref-name }}"
42+
echo "target-name=${{ steps.set-tag-name.outputs.ref-name }}" >> $GITHUB_OUTPUT
4343
fi
4444
4545
- name: Create a local tag for beta branches
@@ -62,7 +62,7 @@ jobs:
6262
verb=edit
6363
fi
6464
65-
echo ::set-output name=verb::"$verb"
65+
echo "verb=$verb" >> $GITHUB_OUTPUT
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868

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

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

+3-8
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,21 @@ 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
1212
id: generate-token
13-
uses: tibdex/github-app-token@v1
13+
uses: tibdex/github-app-token@v2
1414
with:
1515
app_id: ${{ secrets.APP_ID }}
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

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

.github/workflows/sync-files.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Generate token
2020
id: generate-token
21-
uses: tibdex/github-app-token@v1
21+
uses: tibdex/github-app-token@v2
2222
with:
2323
app_id: ${{ secrets.APP_ID }}
2424
private_key: ${{ secrets.PRIVATE_KEY }}
@@ -28,6 +28,6 @@ jobs:
2828
with:
2929
token: ${{ steps.generate-token.outputs.token }}
3030
pr-labels: |
31-
bot
32-
sync-files
31+
tag:bot
32+
tag:sync-files
3333
auto-merge-method: squash

.markdownlint.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ MD029:
77
style: ordered
88
MD033: false
99
MD041: false
10+
MD045: false
1011
MD046: false
1112
MD049: false

.pre-commit-config-optional.yaml

+2-2
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.3
3+
rev: v3.12.2
44
hooks:
55
- id: markdown-link-check
6-
args: [--config=.markdown-link-check.json]
6+
args: [--quiet, --config=.markdown-link-check.json]

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ repos:
1818
args: [--markdown-linebreak-ext=md]
1919

2020
- repo: https://github.com/igorshubovych/markdownlint-cli
21-
rev: v0.33.0
21+
rev: v0.34.0
2222
hooks:
2323
- id: markdownlint
2424
args: [-c, .markdownlint.yaml, --fix]
2525

2626
- repo: https://github.com/pre-commit/mirrors-prettier
27-
rev: v3.0.0-alpha.4
27+
rev: v3.0.0-alpha.9-for-vscode
2828
hooks:
2929
- id: prettier
3030

3131
- repo: https://github.com/adrienverge/yamllint
32-
rev: v1.29.0
32+
rev: v1.32.0
3333
hooks:
3434
- id: yamllint
3535

3636
- repo: https://github.com/tier4/pre-commit-hooks-ros
37-
rev: v0.8.0
37+
rev: v0.9.0
3838
hooks:
3939
- id: flake8-ros
4040
- id: prettier-xacro
@@ -44,12 +44,12 @@ repos:
4444
- id: sort-package-xml
4545

4646
- repo: https://github.com/shellcheck-py/shellcheck-py
47-
rev: v0.9.0.2
47+
rev: v0.9.0.5
4848
hooks:
4949
- id: shellcheck
5050

5151
- repo: https://github.com/scop/pre-commit-shfmt
52-
rev: v3.6.0-1
52+
rev: v3.6.0-2
5353
hooks:
5454
- id: shfmt
5555
args: [-w, -s, -i=4]
@@ -60,7 +60,7 @@ repos:
6060
- id: isort
6161

6262
- repo: https://github.com/psf/black
63-
rev: 23.1.0
63+
rev: 23.3.0
6464
hooks:
6565
- id: black
6666
args: [--line-length=100]

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
63+
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the

0 commit comments

Comments
 (0)