-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: GitHub <[email protected]> Co-authored-by: kenji-miyake <[email protected]>
- Loading branch information
1 parent
71333f1
commit 381d927
Showing
24 changed files
with
837 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Bug | ||
description: Report a bug | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Checklist | ||
description: Confirm the following items before proceeding. If one cannot be satisfied, create a discussion thread instead. | ||
options: | ||
- label: I've read the [contribution guidelines](https://github.com/autowarefoundation/autoware/blob/main/CONTRIBUTING.md). | ||
required: true | ||
- label: I've searched other issues and no duplicate issues were found. | ||
required: true | ||
- label: I'm convinced that this is not my fault but a bug. | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: Write a brief description of the bug. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected behavior | ||
description: Describe the expected behavior. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Actual behavior | ||
description: Describe the actual behavior. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
description: Write the steps to reproduce the bug. | ||
placeholder: |- | ||
1. | ||
2. | ||
3. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Versions | ||
description: Provide the version information. You can omit this if you believe it's irrelevant. | ||
placeholder: |- | ||
- OS: | ||
- ROS 2: | ||
- Autoware: | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Possible causes | ||
description: Write the possible causes if you have any ideas. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: Add any other additional context if it exists. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Question | ||
url: https://github.com/autowarefoundation/autoware/discussions/new?category=q-a | ||
about: Ask a question | ||
|
||
- name: Feature request | ||
url: https://github.com/autowarefoundation/autoware/discussions/new?category=feature-requests | ||
about: Send a feature request | ||
|
||
- name: Idea | ||
url: https://github.com/autowarefoundation/autoware/discussions/new?category=ideas | ||
about: Post an idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Task | ||
description: Plan a task | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Checklist | ||
description: Confirm the following items before proceeding. If one cannot be satisfied, create a discussion thread instead. | ||
options: | ||
- label: I've read the [contribution guidelines](https://github.com/autowarefoundation/autoware/blob/main/CONTRIBUTING.md). | ||
required: true | ||
- label: I've searched other issues and no duplicate issues were found. | ||
required: true | ||
- label: I've agreed with the maintainers that I can plan this task. | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: Write a brief description of the task. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Purpose | ||
description: Describe the purpose of the task. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Possible approaches | ||
description: Describe possible approaches for the task. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Definition of done | ||
description: Write the definition of done for the task. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
**Note**: Confirm the [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/) before submitting a pull request. | ||
|
||
Click the `Preview` tab and select a PR template: | ||
|
||
- [Standard change](?expand=1&template=standard-change.md) | ||
- [Small change](?expand=1&template=small-change.md) | ||
|
||
**Do NOT send a PR with this description.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Description | ||
|
||
<!-- Write a brief description of this PR. --> | ||
|
||
## Pre-review checklist for the PR author | ||
|
||
The PR author **must** check the checkboxes below when creating the PR. | ||
|
||
- [ ] I've confirmed the [contribution guidelines]. | ||
- [ ] The PR follows the [pull request guidelines]. | ||
|
||
## In-review checklist for the PR reviewers | ||
|
||
The PR reviewers **must** check the checkboxes below before approval. | ||
|
||
- [ ] The PR follows the [pull request guidelines]. | ||
|
||
## Post-review checklist for the PR author | ||
|
||
The PR author **must** check the checkboxes below before merging. | ||
|
||
- [ ] There are no open discussions or they are tracked via tickets. | ||
|
||
After all checkboxes are checked, anyone who has write access can merge the PR. | ||
|
||
[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/ | ||
[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## Description | ||
|
||
<!-- Write a brief description of this PR. --> | ||
|
||
## Related links | ||
|
||
<!-- Write the links related to this PR. --> | ||
|
||
## Tests performed | ||
|
||
<!-- Describe how you have tested this PR. --> | ||
|
||
## Notes for reviewers | ||
|
||
<!-- Write additional information if necessary. It should be written if there are related PRs that should be merged at the same time. --> | ||
|
||
## Pre-review checklist for the PR author | ||
|
||
The PR author **must** check the checkboxes below when creating the PR. | ||
|
||
- [ ] I've confirmed the [contribution guidelines]. | ||
- [ ] The PR follows the [pull request guidelines]. | ||
|
||
## In-review checklist for the PR reviewers | ||
|
||
The PR reviewers **must** check the checkboxes below before approval. | ||
|
||
- [ ] The PR follows the [pull request guidelines]. | ||
- [ ] The PR has been properly tested. | ||
- [ ] The PR has been reviewed by the code owners. | ||
|
||
## Post-review checklist for the PR author | ||
|
||
The PR author **must** check the checkboxes below before merging. | ||
|
||
- [ ] There are no open discussions or they are tracked via tickets. | ||
- [ ] The PR is ready for merge. | ||
|
||
After all checkboxes are checked, anyone who has write access can merge the PR. | ||
|
||
[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/ | ||
[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Modified from https://github.com/probot/stale#usage | ||
|
||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed | ||
daysUntilClose: false | ||
|
||
# Label to use when marking as stale | ||
staleLabel: stale | ||
|
||
# Comment to post when marking as stale | ||
markComment: > | ||
This pull request has been automatically marked as stale because it has not had | ||
recent activity. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: build-and-test-differential | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build-and-test-differential: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/autowarefoundation/autoware-universe:latest | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Remove exec_depend | ||
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1 | ||
|
||
- name: Get modified packages | ||
id: get-modified-packages | ||
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1 | ||
|
||
- name: Build | ||
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/colcon-build@v1 | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} | ||
build-depends-repos: build_depends.repos | ||
|
||
- name: Test | ||
id: test | ||
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/colcon-test@v1 | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} | ||
build-depends-repos: build_depends.repos | ||
|
||
- name: Upload coverage to CodeCov | ||
if: ${{ steps.test.outputs.coverage-report-files != '' }} | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
files: ${{ steps.test.outputs.coverage-report-files }} | ||
fail_ci_if_error: false | ||
verbose: true | ||
|
||
clang-tidy-differential: | ||
runs-on: ubuntu-latest | ||
container: ros:galactic | ||
needs: build-and-test-differential | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Remove exec_depend | ||
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1 | ||
|
||
- name: Get modified packages | ||
id: get-modified-packages | ||
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1 | ||
|
||
- name: Run clang-tidy | ||
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/clang-tidy@v1 | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} | ||
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy | ||
build-depends-repos: build_depends.repos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: build-and-test | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-test: | ||
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }} | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/autowarefoundation/autoware-universe:latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Remove exec_depend | ||
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1 | ||
|
||
- name: Get self packages | ||
id: get-self-packages | ||
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1 | ||
|
||
- name: Build | ||
if: ${{ steps.get-self-packages.outputs.self-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/colcon-build@v1 | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-self-packages.outputs.self-packages }} | ||
build-depends-repos: build_depends.repos | ||
|
||
- name: Test | ||
if: ${{ steps.get-self-packages.outputs.self-packages != '' }} | ||
id: test | ||
uses: autowarefoundation/autoware-github-actions/colcon-test@v1 | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-self-packages.outputs.self-packages }} | ||
build-depends-repos: build_depends.repos | ||
|
||
- name: Upload coverage to CodeCov | ||
if: ${{ steps.test.outputs.coverage-report-files != '' }} | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
files: ${{ steps.test.outputs.coverage-report-files }} | ||
fail_ci_if_error: false | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: pre-commit-optional | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
pre-commit-optional: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run pre-commit | ||
uses: autowarefoundation/autoware-github-actions/pre-commit@v1 | ||
with: | ||
pre-commit-config: .pre-commit-config-optional.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: pre-commit | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run pre-commit | ||
uses: autowarefoundation/autoware-github-actions/pre-commit@v1 | ||
with: | ||
pre-commit-config: .pre-commit-config.yaml |
Oops, something went wrong.