Skip to content

Commit b2f5c07

Browse files
authored
ci: update the pr template and add comment-on-pr workflow (#5500)
Signed-off-by: M. Fatih Cırıt <mfc@autoware.org>
1 parent 45ceb15 commit b2f5c07

File tree

5 files changed

+48
-115
lines changed

5 files changed

+48
-115
lines changed

.github/PULL_REQUEST_TEMPLATE.md

-8
This file was deleted.

.github/PULL_REQUEST_TEMPLATE/small-change.md

-44
This file was deleted.

.github/PULL_REQUEST_TEMPLATE/standard-change.md

-63
This file was deleted.

.github/pull_request_template.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Description
2+
3+
## Related links
4+
5+
**Parent Issue:**
6+
7+
- Link
8+
9+
<!-- ⬇️🟢
10+
**Private Links:**
11+
12+
- [CompanyName internal link]()
13+
⬆️🟢 -->
14+
15+
## How was this PR tested?
16+
17+
## Notes for reviewers
18+
19+
None.
20+
21+
## Effects on system behavior
22+
23+
None.

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

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: comment-on-pr
2+
on:
3+
pull_request_target:
4+
5+
jobs:
6+
comment-on-pr:
7+
runs-on: ubuntu-22.04
8+
permissions:
9+
pull-requests: write
10+
steps:
11+
- name: Check out repository
12+
uses: actions/checkout@v4
13+
14+
- name: Initial PR comment
15+
uses: marocchino/sticky-pull-request-comment@v2
16+
with:
17+
message: |
18+
Thank you for contributing to the Autoware project!
19+
20+
🚧 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).
21+
22+
Please ensure:
23+
- You've checked our [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/).
24+
- Your PR follows our [pull request guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/).
25+
- 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).

0 commit comments

Comments
 (0)