Skip to content

Commit d753de2

Browse files
committed
Merge remote-tracking branch 'origin/main' into awsim-labs-humble-release-0.41.0
2 parents c162d49 + 6acfb17 commit d753de2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+554
-186
lines changed

.github/ISSUE_TEMPLATE/bug.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: Bug
26
description: Report a bug
37
body:

.github/ISSUE_TEMPLATE/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
blank_issues_enabled: false
26
contact_links:
37
- name: Question

.github/ISSUE_TEMPLATE/task.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: Task
26
description: Plan a task
37
body:

.github/PULL_REQUEST_TEMPLATE.md

-8
This file was deleted.

.github/PULL_REQUEST_TEMPLATE/small-change.md

-27
This file was deleted.

.github/PULL_REQUEST_TEMPLATE/standard-change.md

-42
This file was deleted.

.github/dependabot.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
version: 2
26
updates:
37
- package-ecosystem: github-actions
48
directory: /
9+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval
510
schedule:
6-
interval: daily
11+
interval: monthly
712
open-pull-requests-limit: 1
813
labels:
9-
- bot
10-
- github-actions
14+
- tag:bot
15+
- type:github-actions

.github/pull_request_template.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Description
2+
3+
## How was this PR tested?
4+
5+
## Notes for reviewers
6+
7+
None.
8+
9+
## Effects on system behavior
10+
11+
None.

.github/stale.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
# Modified from https://github.com/probot/stale#usage
26

37
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed
48
daysUntilClose: false
59

610
# Label to use when marking as stale
7-
staleLabel: stale
11+
staleLabel: status:stale
812

913
# Comment to post when marking as stale
1014
markComment: >

.github/sync-files.yaml

+17-15
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
1-
- repository: autowarefoundation/autoware
1+
- repository: autowarefoundation/sync-file-templates
2+
source-dir: sources
23
files:
3-
- source: CODE_OF_CONDUCT.md
4-
- source: CONTRIBUTING.md
5-
- source: DISCLAIMER.md
6-
- source: LICENSE
74
- source: .github/ISSUE_TEMPLATE/bug.yaml
85
- source: .github/ISSUE_TEMPLATE/config.yml
96
- source: .github/ISSUE_TEMPLATE/task.yaml
10-
- source: .github/PULL_REQUEST_TEMPLATE.md
11-
- source: .github/PULL_REQUEST_TEMPLATE/small-change.md
12-
- source: .github/PULL_REQUEST_TEMPLATE/standard-change.md
137
- source: .github/dependabot.yaml
8+
- source: .github/pull_request_template.md
149
- source: .github/stale.yml
10+
- source: .github/workflows/build-and-test.yaml
11+
- source: .github/workflows/build-and-test-differential.yaml
12+
- source: .github/workflows/cancel-previous-workflows.yaml
13+
- source: .github/workflows/check-build-depends.yaml
14+
- source: .github/workflows/clang-tidy-pr-comments.yaml
15+
- source: .github/workflows/clang-tidy-pr-comments-manually.yaml
16+
- source: .github/workflows/comment-on-pr.yaml
1517
- source: .github/workflows/github-release.yaml
1618
- source: .github/workflows/pre-commit.yaml
1719
- source: .github/workflows/pre-commit-optional.yaml
20+
- source: .github/workflows/pre-commit-optional-autoupdate.yaml
21+
- source: .github/workflows/pre-commit-autoupdate.yaml
1822
- source: .github/workflows/semantic-pull-request.yaml
19-
- source: .github/workflows/spell-check-differential.yaml
2023
- source: .github/workflows/sync-files.yaml
2124
- source: .markdown-link-check.json
2225
- source: .markdownlint.yaml
2326
- source: .pre-commit-config-optional.yaml
27+
- source: .pre-commit-config.yaml
2428
- source: .prettierignore
2529
- source: .prettierrc.yaml
2630
- source: .yamllint.yaml
27-
- source: setup.cfg
28-
29-
- repository: autowarefoundation/autoware_common
30-
files:
31-
- source: .github/workflows/build-and-test.yaml
32-
- source: .github/workflows/build-and-test-differential.yaml
31+
- source: CODE_OF_CONDUCT.md
32+
- source: CONTRIBUTING.md
33+
- source: DISCLAIMER.md
34+
- source: LICENSE
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,49 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: build-and-test-differential
26

37
on:
48
pull_request:
9+
types:
10+
- opened
11+
- synchronize
12+
- reopened
13+
- labeled
514

615
jobs:
16+
make-sure-label-is-present:
17+
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
18+
with:
19+
label: run:build-and-test-differential
20+
721
build-and-test-differential:
8-
runs-on: ubuntu-latest
22+
needs: make-sure-label-is-present
23+
if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }}
24+
runs-on: ubuntu-22.04
925
container: ${{ matrix.container }}
1026
strategy:
1127
fail-fast: false
1228
matrix:
1329
rosdistro:
14-
- galactic
1530
- humble
1631
include:
17-
- rosdistro: galactic
18-
container: ros:galactic
19-
build-depends-repos: build_depends.repos
2032
- rosdistro: humble
2133
container: ros:humble
2234
build-depends-repos: build_depends.repos
2335
steps:
24-
- name: Cancel previous runs
25-
uses: styfle/cancel-workflow-action@0.9.1
36+
- name: Set PR fetch depth
37+
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
2638

27-
- name: Check out repository
28-
uses: actions/checkout@v3
39+
- name: Checkout PR branch and all PR commits
40+
uses: actions/checkout@v4
2941
with:
30-
fetch-depth: 0
42+
ref: ${{ github.event.pull_request.head.sha }}
43+
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
44+
45+
- name: Show disk space before the tasks
46+
run: df -h
3147

3248
- name: Remove exec_depend
3349
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -55,35 +71,12 @@ jobs:
5571

5672
- name: Upload coverage to CodeCov
5773
if: ${{ steps.test.outputs.coverage-report-files != '' }}
58-
uses: codecov/codecov-action@v3
74+
uses: codecov/codecov-action@v4
5975
with:
6076
files: ${{ steps.test.outputs.coverage-report-files }}
6177
fail_ci_if_error: false
6278
verbose: true
6379
flags: differential
6480

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

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

+15-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: build-and-test
26

37
on:
@@ -9,24 +13,25 @@ on:
913
jobs:
1014
build-and-test:
1115
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}
12-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1317
container: ${{ matrix.container }}
1418
strategy:
1519
fail-fast: false
1620
matrix:
1721
rosdistro:
18-
- galactic
1922
- humble
2023
include:
21-
- rosdistro: galactic
22-
container: ros:galactic
23-
build-depends-repos: build_depends.repos
2424
- rosdistro: humble
2525
container: ros:humble
2626
build-depends-repos: build_depends.repos
2727
steps:
2828
- name: Check out repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 1
32+
33+
- name: Show disk space before the tasks
34+
run: df -h
3035

3136
- name: Remove exec_depend
3237
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -54,9 +59,12 @@ jobs:
5459

5560
- name: Upload coverage to CodeCov
5661
if: ${{ steps.test.outputs.coverage-report-files != '' }}
57-
uses: codecov/codecov-action@v3
62+
uses: codecov/codecov-action@v4
5863
with:
5964
files: ${{ steps.test.outputs.coverage-report-files }}
6065
fail_ci_if_error: false
6166
verbose: true
6267
flags: total
68+
69+
- name: Show disk space after the tasks
70+
run: df -h
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
5+
name: cancel-previous-workflows
6+
7+
on:
8+
pull_request_target:
9+
10+
jobs:
11+
cancel-previous-workflows:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- name: Cancel previous runs
15+
uses: styfle/cancel-workflow-action@0.12.1
16+
with:
17+
workflow_id: all
18+
all_but_latest: true

0 commit comments

Comments
 (0)