-
Notifications
You must be signed in to change notification settings - Fork 242
48 lines (36 loc) · 1.32 KB
/
handler.changelog-reminder.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
name: Changelog Reminder
on:
pull_request:
types: [opened]
jobs:
check:
name: Check which packages have been modified
runs-on: ubuntu-latest
outputs:
build_ethereum_contracts: ${{ env.BUILD_ETHEREUM_CONTRACTS }}
build_sdk_core: ${{ env.BUILD_SDK_CORE }}
build_sdk_redux: ${{ env.BUILD_SDK_REDUX }}
build_spec_haskell: ${{ env.BUILD_SPEC_HASKELL }}
steps:
- uses: actions/checkout@v4
- name: Create build set
run: tasks/create-build-set.sh ${{ github.sha }} dev origin
create-reminder:
name: Create Changelog reminder in PR discussion
permissions:
pull-requests: write
issues: write
runs-on: ubuntu-latest
needs: [check]
if: needs.check.outputs.build_ethereum_contracts || needs.check.outputs.build_sdk_core || needs.check.outputs.build_sdk_redux || needs.check.outputs.build_spec_haskell
steps:
- name: Create Reminder
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
## Changelog Reminder
Reminder to update the CHANGELOG.md for any of the modified packages in this PR.
- [ ] CHANGELOG.md modified
- [ ] Double check before merge
reactions: white_check_mark