-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: comment-on-pr and pr/issue templates (#3)
Signed-off-by: M. Fatih Cırıt <[email protected]>
- Loading branch information
Showing
5 changed files
with
172 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,21 @@ | ||
## Description | ||
|
||
## Related links | ||
|
||
**Parent Issue/PR:** | ||
|
||
- PR | ||
|
||
**Links to the definitions of the words added:** | ||
|
||
- Word | ||
|
||
<!-- ⬇️🟢 | ||
**Private Links:** | ||
- [CompanyName internal link]() | ||
⬆️🟢 --> | ||
|
||
## Notes for reviewers | ||
|
||
None. |
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,25 @@ | ||
name: comment-on-pr | ||
on: | ||
pull_request_target: | ||
|
||
jobs: | ||
comment-on-pr: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Initial PR comment | ||
uses: marocchino/sticky-pull-request-comment@v2 | ||
with: | ||
message: | | ||
Thank you for contributing to the Autoware project! | ||
🚧 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). | ||
Please ensure: | ||
- You've checked our [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/). | ||
- Your PR follows our [pull request guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/). | ||
- 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). |