-
Notifications
You must be signed in to change notification settings - Fork 9
29 lines (24 loc) · 1.08 KB
/
changesets-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
name: Changelog Reminder
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
['packages/*/source/**', 'packages/*/package.json', '!*.test.*', '!*.md']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
remind:
name: Changeset Reminder
runs-on: ubuntu-latest
timeout-minutes: 5
if: ${{ !github.event.pull_request.draft && !startsWith(github.head_ref, 'changeset-release/') }}
steps:
- uses: actions/checkout@v4
- uses: mskelton/changelog-reminder-action@v3
with:
changelogRegex: "\\.changeset"
message: >
We detected some changes in `packages/*/package.json` or `packages/*/source`, and there are no updates in the `.changeset` directory.
If the changes are user-facing and should cause a version bump, run `pnpm changeset` to track your changes and include them in the next release CHANGELOG.
If you are making simple updates to repo configuration, examples, or documentation, you do not need to add a changeset.