Skip to content

Commit 22afcb7

Browse files
committed
Add PR checklist
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
1 parent 94a9626 commit 22afcb7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/pr-checklist.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PR Checklist
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
add-checklist-and-assignees:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Comment PR with checklist
13+
uses: peter-evans/create-or-update-comment@v3
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
issue-number: ${{ github.event.pull_request.number }}
17+
body: |
18+
Thank you for submitting your PR. The PR states are Tech review -> Doc review -> Editorial review. If you're a developer submitting documentation for a feature you implemented, have the documentation reviewed by your team. If you need a tech review, let us know. Here's a checklist of the PR progression:
19+
20+
### PR Checklist
21+
- [x] Tech Review
22+
- [ ] Doc Review
23+
- [ ] Editorial Review
24+
25+
- name: Add assignees to the PR
26+
uses: peter-evans/create-or-update-comment@v3
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
issue-number: ${{ github.event.pull_request.number }}
30+
assignees: ${{ github.actor }}, kolchfa-aws

0 commit comments

Comments
 (0)