Skip to content

Commit cbc4a97

Browse files
committed
added CI workflow for CHANGELOG.md
1 parent ebc8968 commit cbc4a97

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/changelog.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Check CHANGELOG.md
2+
3+
on:
4+
merge_group:
5+
pull_request:
6+
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
7+
8+
jobs:
9+
changelog-check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Check for CHANGELOG.md
16+
uses: dangoslen/changelog-enforcer@v3
17+
with:
18+
skipLabels: 'skip changelog'
19+
missingUpdateErrorMessage: 'Please add a changelog entry in the CHANGELOG.md file.'
20+

0 commit comments

Comments
 (0)