Skip to content

Commit e0c29b9

Browse files
authored
Merge pull request #730 from stm32-rs/changelog
change changelog checker
2 parents b414ad5 + 2491797 commit e0c29b9

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/changelog.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
on:
2-
pull_request_target:
2+
pull_request:
3+
# Run on labeled/unlabeled in addition to defaults to detect
4+
# adding/removing skip-changelog labels.
5+
types: [ opened, reopened, labeled, unlabeled, synchronize ]
6+
merge_group:
37

48
name: Changelog check
59

@@ -11,9 +15,8 @@ jobs:
1115
- name: Checkout sources
1216
uses: actions/checkout@v4
1317

14-
- name: Changelog updated
15-
uses: Zomzog/changelog-checker@v1.2.0
18+
- name: Check changelog update
19+
uses: dangoslen/changelog-enforcer@v3
1620
with:
17-
fileName: CHANGELOG.md
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
skipLabels: skip-changelog
22+
missingUpdateErrorMessage: 'Please add a changelog entry to the appropriate section of the CHANGELOG.md file.'

0 commit comments

Comments
 (0)