-
Notifications
You must be signed in to change notification settings - Fork 17
36 lines (30 loc) · 1.17 KB
/
changelog.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
name: "Pull Request Labeler"
on:
pull_request:
types: [closed]
jobs:
labeler:
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk'
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
comment_pr:
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk'
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
name: Comment about the change log label
steps:
- name: Comment PR
uses: thollander/actions-comment-pull-request@v3
with:
message: |
Hey @${{ github.event.pull_request.assignee.login }}, good job getting this PR merged! :tada:
Now, the `needs-changelog` label has been added to it.
Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label.
If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label.
Thank you! :heart: