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 414d2f0

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommittedNov 14, 2024·
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3f1328c commit 414d2f0

11 files changed

+51
-63
lines changed
 

‎.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@v35
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

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,12 @@ jobs:
2222
build-depends-repos: build_depends.repos
2323
steps:
2424
- name: Check out repository
25-
uses: actions/checkout@v3
26-
27-
- name: Free disk space (Ubuntu)
28-
uses: jlumbroso/free-disk-space@v1.2.0
25+
uses: actions/checkout@v4
2926
with:
30-
tool-cache: false
31-
dotnet: false
32-
swap-storage: false
33-
large-packages: false
27+
fetch-depth: 1
28+
29+
- name: Show disk space before the tasks
30+
run: df -h
3431

3532
- name: Remove exec_depend
3633
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -58,9 +55,12 @@ jobs:
5855

5956
- name: Upload coverage to CodeCov
6057
if: ${{ steps.test.outputs.coverage-report-files != '' }}
61-
uses: codecov/codecov-action@v3
58+
uses: codecov/codecov-action@v4
6259
with:
6360
files: ${{ steps.test.outputs.coverage-report-files }}
6461
fail_ci_if_error: false
6562
verbose: true
6663
flags: total
64+
65+
- name: Show disk space after the tasks
66+
run: df -h

‎.github/workflows/cancel-previous-workflows.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: Cancel previous runs
11-
uses: styfle/cancel-workflow-action@0.11.0
11+
uses: styfle/cancel-workflow-action@0.12.1
1212
with:
1313
workflow_id: all
1414
all_but_latest: true

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ 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
1212
with:
1313
fetch-depth: 0
1414

‎.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.2
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)
Please sign in to comment.