Skip to content

Commit 381d927

Browse files
chore: sync files (#4)
Signed-off-by: GitHub <[email protected]> Co-authored-by: kenji-miyake <[email protected]>
1 parent 71333f1 commit 381d927

24 files changed

+837
-0
lines changed

.github/ISSUE_TEMPLATE/bug.yaml

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Bug
2+
description: Report a bug
3+
body:
4+
- type: checkboxes
5+
attributes:
6+
label: Checklist
7+
description: Confirm the following items before proceeding. If one cannot be satisfied, create a discussion thread instead.
8+
options:
9+
- label: I've read the [contribution guidelines](https://github.com/autowarefoundation/autoware/blob/main/CONTRIBUTING.md).
10+
required: true
11+
- label: I've searched other issues and no duplicate issues were found.
12+
required: true
13+
- label: I'm convinced that this is not my fault but a bug.
14+
required: true
15+
16+
- type: textarea
17+
attributes:
18+
label: Description
19+
description: Write a brief description of the bug.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
attributes:
25+
label: Expected behavior
26+
description: Describe the expected behavior.
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
attributes:
32+
label: Actual behavior
33+
description: Describe the actual behavior.
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
attributes:
39+
label: Steps to reproduce
40+
description: Write the steps to reproduce the bug.
41+
placeholder: |-
42+
1.
43+
2.
44+
3.
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
attributes:
50+
label: Versions
51+
description: Provide the version information. You can omit this if you believe it's irrelevant.
52+
placeholder: |-
53+
- OS:
54+
- ROS 2:
55+
- Autoware:
56+
validations:
57+
required: false
58+
59+
- type: textarea
60+
attributes:
61+
label: Possible causes
62+
description: Write the possible causes if you have any ideas.
63+
validations:
64+
required: false
65+
66+
- type: textarea
67+
attributes:
68+
label: Additional context
69+
description: Add any other additional context if it exists.
70+
validations:
71+
required: false

.github/ISSUE_TEMPLATE/config.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Question
4+
url: https://github.com/autowarefoundation/autoware/discussions/new?category=q-a
5+
about: Ask a question
6+
7+
- name: Feature request
8+
url: https://github.com/autowarefoundation/autoware/discussions/new?category=feature-requests
9+
about: Send a feature request
10+
11+
- name: Idea
12+
url: https://github.com/autowarefoundation/autoware/discussions/new?category=ideas
13+
about: Post an idea

.github/ISSUE_TEMPLATE/task.yaml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Task
2+
description: Plan a task
3+
body:
4+
- type: checkboxes
5+
attributes:
6+
label: Checklist
7+
description: Confirm the following items before proceeding. If one cannot be satisfied, create a discussion thread instead.
8+
options:
9+
- label: I've read the [contribution guidelines](https://github.com/autowarefoundation/autoware/blob/main/CONTRIBUTING.md).
10+
required: true
11+
- label: I've searched other issues and no duplicate issues were found.
12+
required: true
13+
- label: I've agreed with the maintainers that I can plan this task.
14+
required: true
15+
16+
- type: textarea
17+
attributes:
18+
label: Description
19+
description: Write a brief description of the task.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
attributes:
25+
label: Purpose
26+
description: Describe the purpose of the task.
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
attributes:
32+
label: Possible approaches
33+
description: Describe possible approaches for the task.
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
attributes:
39+
label: Definition of done
40+
description: Write the definition of done for the task.
41+
validations:
42+
required: true

.github/PULL_REQUEST_TEMPLATE.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
**Note**: Confirm the [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/) before submitting a pull request.
2+
3+
Click the `Preview` tab and select a PR template:
4+
5+
- [Standard change](?expand=1&template=standard-change.md)
6+
- [Small change](?expand=1&template=small-change.md)
7+
8+
**Do NOT send a PR with this description.**
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Description
2+
3+
<!-- Write a brief description of this PR. -->
4+
5+
## Pre-review checklist for the PR author
6+
7+
The PR author **must** check the checkboxes below when creating the PR.
8+
9+
- [ ] I've confirmed the [contribution guidelines].
10+
- [ ] The PR follows the [pull request guidelines].
11+
12+
## In-review checklist for the PR reviewers
13+
14+
The PR reviewers **must** check the checkboxes below before approval.
15+
16+
- [ ] The PR follows the [pull request guidelines].
17+
18+
## Post-review checklist for the PR author
19+
20+
The PR author **must** check the checkboxes below before merging.
21+
22+
- [ ] There are no open discussions or they are tracked via tickets.
23+
24+
After all checkboxes are checked, anyone who has write access can merge the PR.
25+
26+
[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/
27+
[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## Description
2+
3+
<!-- Write a brief description of this PR. -->
4+
5+
## Related links
6+
7+
<!-- Write the links related to this PR. -->
8+
9+
## Tests performed
10+
11+
<!-- Describe how you have tested this PR. -->
12+
13+
## Notes for reviewers
14+
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+
## Pre-review checklist for the PR author
18+
19+
The PR author **must** check the checkboxes below when creating the PR.
20+
21+
- [ ] I've confirmed the [contribution guidelines].
22+
- [ ] The PR follows the [pull request guidelines].
23+
24+
## In-review checklist for the PR reviewers
25+
26+
The PR reviewers **must** check the checkboxes below before approval.
27+
28+
- [ ] The PR follows the [pull request guidelines].
29+
- [ ] The PR has been properly tested.
30+
- [ ] The PR has been reviewed by the code owners.
31+
32+
## Post-review checklist for the PR author
33+
34+
The PR author **must** check the checkboxes below before merging.
35+
36+
- [ ] There are no open discussions or they are tracked via tickets.
37+
- [ ] The PR is ready for merge.
38+
39+
After all checkboxes are checked, anyone who has write access can merge the PR.
40+
41+
[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/
42+
[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/

.github/dependabot.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 1

.github/stale.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Modified from https://github.com/probot/stale#usage
2+
3+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed
4+
daysUntilClose: false
5+
6+
# Label to use when marking as stale
7+
staleLabel: stale
8+
9+
# Comment to post when marking as stale
10+
markComment: >
11+
This pull request has been automatically marked as stale because it has not had
12+
recent activity.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: build-and-test-differential
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build-and-test-differential:
8+
runs-on: ubuntu-latest
9+
container: ghcr.io/autowarefoundation/autoware-universe:latest
10+
steps:
11+
- name: Cancel previous runs
12+
uses: styfle/[email protected]
13+
14+
- name: Check out repository
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Remove exec_depend
20+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
21+
22+
- name: Get modified packages
23+
id: get-modified-packages
24+
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
25+
26+
- name: Build
27+
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
28+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
29+
with:
30+
rosdistro: galactic
31+
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
32+
build-depends-repos: build_depends.repos
33+
34+
- name: Test
35+
id: test
36+
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
37+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
38+
with:
39+
rosdistro: galactic
40+
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
41+
build-depends-repos: build_depends.repos
42+
43+
- name: Upload coverage to CodeCov
44+
if: ${{ steps.test.outputs.coverage-report-files != '' }}
45+
uses: codecov/codecov-action@v2
46+
with:
47+
files: ${{ steps.test.outputs.coverage-report-files }}
48+
fail_ci_if_error: false
49+
verbose: true
50+
51+
clang-tidy-differential:
52+
runs-on: ubuntu-latest
53+
container: ros:galactic
54+
needs: build-and-test-differential
55+
steps:
56+
- name: Check out repository
57+
uses: actions/checkout@v3
58+
with:
59+
fetch-depth: 0
60+
61+
- name: Remove exec_depend
62+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
63+
64+
- name: Get modified packages
65+
id: get-modified-packages
66+
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
67+
68+
- name: Run clang-tidy
69+
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
70+
uses: autowarefoundation/autoware-github-actions/clang-tidy@v1
71+
with:
72+
rosdistro: galactic
73+
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
74+
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
75+
build-depends-repos: build_depends.repos

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

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: build-and-test
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: 0 0 * * *
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-and-test:
11+
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}
12+
runs-on: ubuntu-latest
13+
container: ghcr.io/autowarefoundation/autoware-universe:latest
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v3
17+
18+
- name: Remove exec_depend
19+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
20+
21+
- name: Get self packages
22+
id: get-self-packages
23+
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
24+
25+
- name: Build
26+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
27+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
28+
with:
29+
rosdistro: galactic
30+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
31+
build-depends-repos: build_depends.repos
32+
33+
- name: Test
34+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
35+
id: test
36+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
37+
with:
38+
rosdistro: galactic
39+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
40+
build-depends-repos: build_depends.repos
41+
42+
- name: Upload coverage to CodeCov
43+
if: ${{ steps.test.outputs.coverage-report-files != '' }}
44+
uses: codecov/codecov-action@v2
45+
with:
46+
files: ${{ steps.test.outputs.coverage-report-files }}
47+
fail_ci_if_error: false
48+
verbose: true
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: pre-commit-optional
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
pre-commit-optional:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v3
12+
13+
- name: Run pre-commit
14+
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
15+
with:
16+
pre-commit-config: .pre-commit-config-optional.yaml

.github/workflows/pre-commit.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
pre-commit:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v3
12+
13+
- name: Run pre-commit
14+
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
15+
with:
16+
pre-commit-config: .pre-commit-config.yaml

0 commit comments

Comments
 (0)