Skip to content

Commit a96d239

Browse files
CI: Add a workflow for checking changelog updates (#49)
I'll make this a required check once I merge it.
1 parent 7b0c97b commit a96d239

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/changelog.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Changelog Update
2+
on:
3+
pull_request:
4+
types:
5+
- "opened"
6+
- "reopened"
7+
- "synchronize"
8+
- "labeled"
9+
- "unlabeled"
10+
11+
jobs:
12+
changelog_check:
13+
runs-on: ubuntu-latest
14+
name: Check for changelog updates
15+
steps:
16+
- name: "Check for changelog updates"
17+
uses: brettcannon/check-for-changed-files@v1
18+
with:
19+
file-pattern: |
20+
CHANGELOG.md
21+
skip-label: "skip changelog"
22+
failure-message: "Missing a CHANGELOG.md update; please add one or apply the ${skip-label} label to the pull request"
23+

0 commit comments

Comments
 (0)