-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (44 loc) · 1.99 KB
/
reusable-release-checklist-comment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
on:
workflow_call:
inputs:
additional_developer_items:
required: false
default: ""
type: string
additional_reviewer_items:
required: false
default: ""
type: string
secrets:
USER_TOKEN:
required: true
jobs:
add-release-checklist-comment:
runs-on: ubuntu-latest
name: Add a comment with the release checklist
steps:
- uses: actions/checkout@v4
- name: Comment PR
uses: thollander/actions-comment-pull-request@v3
with:
message: |
### Developer checklist
- [ ] Indicated the level of changes to this package by affixing one of these labels:
* major -- Major changes to the API that may break current workflows
* minor -- Minor changes to the API that do not break current workflows
* patch -- Patches and bugfixes for the current version that do not break current workflows
* bumpless -- Changes to documentation, CI/CD pipelines, etc. that don't affect the software's version
- [ ] (If applicable) Updated the dependencies and indicated any downstream changes that are required
- [ ] Added/updated documentation for these changes
- [ ] Added/updated tests for these changes
- [ ] Verified changes in test deployment and summarized results, e.g. in PR description or comments on the related issue(s)
${{ inputs.additional_developer_items }}
### Reviewer checklist
- [ ] Have all dependencies been updated?
- [ ] Is the level of changes labeled appropriately?
- [ ] Are all the changes described appropriately in `CHANGELOG.md`?
- [ ] Has the documentation been adequately updated?
- [ ] Are the tests adequate?
- [ ] Have the changes been verified in the test deployment?
${{ inputs.additional_reviewer_items }}
github-token: ${{ secrets.USER_TOKEN }}