Skip to content

Commit b22e234

Browse files
Merge branch 'main' into feat/frequent-log-checker
2 parents 22243b0 + bf6b3ce commit b22e234

File tree

103 files changed

+17515
-282
lines changed

Some content is hidden

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

103 files changed

+17515
-282
lines changed

.clang-format

+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
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
26
Language: Cpp
37
BasedOnStyle: Google

.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/dependabot.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +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+
5+
version: 2
6+
updates:
7+
- package-ecosystem: github-actions
8+
directory: /
9+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval
10+
schedule:
11+
interval: monthly
12+
open-pull-requests-limit: 1
13+
labels:
14+
- tag:bot
15+
- type:github-actions

.github/pull_request_template.md

+3-42
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,11 @@
11
## Description
22

3-
<!-- Write a brief description of this PR. -->
4-
5-
## Related links
6-
7-
<!-- Write the links related to this PR. Private links should be clearly marked as private, for example, '[FOO COMPANY INTERNAL LINK](https://example.com)'. -->
8-
9-
## Tests performed
10-
11-
<!-- Describe how you have tested this PR. -->
3+
## How was this PR tested?
124

135
## Notes for reviewers
146

15-
<!-- Write additional information if necessary. It should be written if there are related PRs that should be merged at the same time. -->
16-
17-
## Interface changes
18-
19-
<!-- Describe any changed interfaces, such as topics, services, or parameters. -->
7+
None.
208

219
## Effects on system behavior
2210

23-
<!-- Describe how this PR affects the system behavior. -->
24-
25-
## Pre-review checklist for the PR author
26-
27-
The PR author **must** check the checkboxes below when creating the PR.
28-
29-
- [ ] I've confirmed the [contribution guidelines].
30-
- [ ] The PR follows the [pull request guidelines].
31-
32-
## In-review checklist for the PR reviewers
33-
34-
The PR reviewers **must** check the checkboxes below before approval.
35-
36-
- [ ] The PR follows the [pull request guidelines].
37-
- [ ] The PR has been properly tested.
38-
- [ ] The PR has been reviewed by the code owners.
39-
40-
## Post-review checklist for the PR author
41-
42-
The PR author **must** check the checkboxes below before merging.
43-
44-
- [ ] There are no open discussions or they are tracked via tickets.
45-
- [ ] The PR is ready for merge.
46-
47-
After all checkboxes are checked, anyone who has write access can merge the PR.
48-
49-
[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/
50-
[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/
11+
None.

.github/stale.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
# 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

.github/sync-files.yaml

+8-52
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
- repository: autowarefoundation/autoware
1+
- repository: autowarefoundation/sync-file-templates
2+
source-dir: sources
23
files:
34
- source: CODE_OF_CONDUCT.md
45
- source: CONTRIBUTING.md
@@ -7,12 +8,11 @@
78
- source: .github/ISSUE_TEMPLATE/bug.yaml
89
- source: .github/ISSUE_TEMPLATE/config.yml
910
- 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
11+
- source: .github/pull_request_template.md
1312
- source: .github/dependabot.yaml
1413
- source: .github/stale.yml
1514
- source: .github/workflows/cancel-previous-workflows.yaml
15+
- source: .github/workflows/comment-on-pr.yaml
1616
- source: .github/workflows/github-release.yaml
1717
- source: .github/workflows/pre-commit.yaml
1818
- source: .github/workflows/pre-commit-optional.yaml
@@ -22,65 +22,21 @@
2222
- source: .clang-format
2323
- source: .markdown-link-check.json
2424
- source: .markdownlint.yaml
25+
- source: .pre-commit-config.yaml
2526
- source: .pre-commit-config-optional.yaml
2627
- source: .prettierignore
2728
- source: .prettierrc.yaml
2829
- source: .yamllint.yaml
2930
- source: CPPLINT.cfg
3031
- source: setup.cfg
31-
32-
- repository: autowarefoundation/autoware_common
33-
files:
34-
- source: .github/workflows/build-and-test.yaml
35-
pre-commands: |
36-
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
37-
38-
sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
39-
sd -- \
40-
" include:" \
41-
" container-suffix:
42-
- \"\"
43-
- -cuda
44-
include:" {source}
45-
- source: .github/workflows/build-and-test-differential-self-hosted.yaml
46-
pre-commands: |
47-
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
48-
49-
sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
50-
sd -- \
51-
" include:" \
52-
" container-suffix:
53-
- \"\"
54-
- -cuda
55-
include:" {source}
56-
- source: .github/workflows/build-and-test-self-hosted.yaml
57-
pre-commands: |
58-
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
59-
60-
sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
61-
sd -- \
62-
" include:" \
63-
" container-suffix:
64-
- \"\"
65-
- -cuda
66-
include:" {source}
67-
- source: .github/workflows/check-build-depends.yaml
68-
- source: .github/workflows/clang-tidy-pr-comments.yaml
69-
- source: .github/workflows/clang-tidy-pr-comments-manually.yaml
70-
- source: .github/workflows/update-codeowners-from-packages.yaml
71-
- source: .pre-commit-config.yaml
72-
- source: codecov.yaml
73-
74-
- repository: autowarefoundation/autoware-documentation
75-
files:
7632
- source: .github/workflows/deploy-docs.yaml
7733
- source: .github/workflows/delete-closed-pr-docs.yaml
7834
- source: mkdocs-base.yaml
7935
dest: mkdocs.yaml
8036
pre-commands: |
81-
sd "Autoware Documentation" "Autoware Universe Documentation" {source}
82-
sd "autoware-documentation" "autoware.universe" {source}
83-
sd "repo_url: .*" "repo_url: https://github.com/autowarefoundation/autoware.universe" {source}
37+
sd "Autoware Documentation" "Autoware Tools Documentation" {source}
38+
sd "autoware-documentation" "autoware-tools-documentation" {source}
39+
sd "repo_url: .*" "repo_url: https://github.com/autowarefoundation/autoware_tools" {source}
8440
sd "/edit/main/docs/" "/edit/main/" {source}
8541
sd "docs_dir: .*" "docs_dir: ." {source}
8642
sd "assets/(\w+)" "docs/assets/\$1" {source}

.github/workflows/cancel-previous-workflows.yaml

+5-1
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: cancel-previous-workflows
26

37
on:
@@ -8,7 +12,7 @@ jobs:
812
runs-on: ubuntu-22.04
913
steps:
1014
- name: Cancel previous runs
11-
uses: styfle/[email protected].0
15+
uses: styfle/[email protected].1
1216
with:
1317
workflow_id: all
1418
all_but_latest: true

.github/workflows/comment-on-pr.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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: comment-on-pr
6+
on:
7+
pull_request_target:
8+
9+
jobs:
10+
comment-on-pr:
11+
runs-on: ubuntu-22.04
12+
permissions:
13+
pull-requests: write
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v4
17+
18+
- name: Initial PR comment
19+
uses: marocchino/sticky-pull-request-comment@v2
20+
with:
21+
message: |
22+
Thank you for contributing to the Autoware project!
23+
24+
🚧 If your pull request is in progress, [switch it to draft mode](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).
25+
26+
Please ensure:
27+
- You've checked our [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/).
28+
- Your PR follows our [pull request guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/).
29+
- All required CI checks pass before [marking the PR ready for review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review).

.github/workflows/delete-closed-pr-docs.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: delete-closed-pr-docs
26

37
on:

.github/workflows/deploy-docs.yaml

+5-1
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: deploy-docs
26

37
on:
@@ -22,7 +26,7 @@ jobs:
2226
prevent-no-label-execution:
2327
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
2428
with:
25-
label: tag:deploy-docs
29+
label: run:deploy-docs
2630

2731
deploy-docs:
2832
needs: prevent-no-label-execution

.github/workflows/github-release.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: github-release
26

37
on:

.github/workflows/pre-commit-optional.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: pre-commit-optional
26

37
on:

.github/workflows/pre-commit.yaml

+5-1
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: pre-commit
26

37
on:
@@ -10,7 +14,7 @@ jobs:
1014
steps:
1115
- name: Generate token
1216
id: generate-token
13-
uses: tibdex/github-app-token@v1
17+
uses: tibdex/github-app-token@v2
1418
with:
1519
app_id: ${{ secrets.APP_ID }}
1620
private_key: ${{ secrets.PRIVATE_KEY }}

.github/workflows/semantic-pull-request.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: semantic-pull-request
26

37
on:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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: spell-check-differential
6+
7+
on:
8+
pull_request:
9+
10+
jobs:
11+
spell-check-differential:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v4
16+
17+
- name: Run spell-check
18+
uses: autowarefoundation/autoware-github-actions/spell-check@v1
19+
with:
20+
cspell-json-url: https://raw.githubusercontent.com/autowarefoundation/autoware-spell-check-dict/main/.cspell.json
21+
dict-packages: |
22+
https://github.com/autowarefoundation/autoware-spell-check-dict
23+
https://github.com/tier4/cspell-dicts

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

-18
This file was deleted.

.github/workflows/sync-files.yaml

+5-1
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: sync-files
26

37
on:
@@ -18,7 +22,7 @@ jobs:
1822
steps:
1923
- name: Generate token
2024
id: generate-token
21-
uses: tibdex/github-app-token@v1
25+
uses: tibdex/github-app-token@v2
2226
with:
2327
app_id: ${{ secrets.APP_ID }}
2428
private_key: ${{ secrets.PRIVATE_KEY }}

.github/workflows/update-codeowners-from-packages.yaml

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

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
# Visual Studio Code
44
.vscode/
55
*.code-workspace
6+
7+
/node_modules/

0 commit comments

Comments
 (0)