Add a changelog check in CI #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changelog check | |
on: | |
pull_request: | |
# Run on labeled/unlabeled in addition to defaults to detect | |
# adding/removing skip-changelog labels. | |
types: [opened, reopened, labeled, unlabeled, synchronize] | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dangoslen/changelog-enforcer@v3 | |
with: | |
changeLogPath: CHANGELOG.md | |
skipLabels: "skip-changelog" | |
missingUpdateErrorMessage: "Please add a changelog entry in the CHANGELOG.md file." |