Introduce changie for CHANGELOG management & releases #2
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: Require CHANGELOG entry | |
on: | |
pull_request: | |
types: | |
# On by default if you specify no types. | |
- opened | |
- reopened | |
- synchronize | |
# For `skip-label` only. | |
- labeled | |
- unlabeled | |
jobs: | |
check-changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for changelog entry | |
uses: brettcannon/check-for-changed-files@v1 | |
with: | |
file-pattern: | | |
.changes/unreleased/*.yaml | |
CHANGELOG.md | |
skip-label: skip changelog | |
failure-message: >- | |
Missing a changelog file in ${file-pattern}; please add one or apply | |
the ${skip-label} label to the pull request |