Skip to content

Commit bc0c1a7

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 bbafc6c commit bc0c1a7

13 files changed

+73
-56
lines changed

.github/PULL_REQUEST_TEMPLATE/small-change.md

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Not applicable.
1515

1616
Not applicable.
1717

18+
## Interface changes
19+
20+
<!-- Describe any changed interfaces, such as topics, services, or parameters, including debugging interfaces -->
21+
1822
## Pre-review checklist for the PR author
1923

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

.github/PULL_REQUEST_TEMPLATE/standard-change.md

+13
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@
1818

1919
<!-- Describe any changed interfaces, such as topics, services, or parameters. -->
2020

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+
2134
## Effects on system behavior
2235

2336
<!-- Describe how this PR affects the system behavior. -->

.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-37
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:
@@ -16,10 +28,17 @@ jobs:
1628
- rosdistro: humble
1729
container: ros:humble
1830
steps:
19-
- name: Check out repository
20-
uses: actions/checkout@v3
31+
- name: Set PR fetch depth
32+
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
33+
34+
- name: Checkout PR branch and all PR commits
35+
uses: actions/checkout@v4
2136
with:
22-
fetch-depth: 0
37+
ref: ${{ github.event.pull_request.head.sha }}
38+
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
39+
40+
- name: Show disk space before the tasks
41+
run: df -h
2342

2443
- name: Remove exec_depend
2544
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -45,43 +64,12 @@ jobs:
4564

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

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

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

+10-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ jobs:
2121
container: ros:humble
2222
steps:
2323
- name: Check out repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 1
27+
28+
- name: Show disk space before the tasks
29+
run: df -h
2530

2631
- name: Remove exec_depend
2732
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -47,9 +52,12 @@ jobs:
4752

4853
- name: Upload coverage to CodeCov
4954
if: ${{ steps.test.outputs.coverage-report-files != '' }}
50-
uses: codecov/codecov-action@v3
55+
uses: codecov/codecov-action@v4
5156
with:
5257
files: ${{ steps.test.outputs.coverage-report-files }}
5358
fail_ci_if_error: false
5459
verbose: true
5560
flags: total
61+
62+
- name: Show disk space after the tasks
63+
run: df -h

.github/workflows/github-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
github-release:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Set tag name
2121
id: set-tag-name
@@ -30,7 +30,7 @@ jobs:
3030
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 }}

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

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ on:
55

66
jobs:
77
pre-commit-optional:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
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-3
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ on:
66
jobs:
77
pre-commit:
88
if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
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

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ on:
55

66
jobs:
77
spell-check-differential:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
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

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
sync-files:
1515
needs: check-secret
1616
if: ${{ needs.check-secret.outputs.set == 'true' }}
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
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

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

0 commit comments

Comments
 (0)