Skip to content

Validate kinds match config in fragment when batching release notes #1321

Validate kinds match config in fragment when batching release notes

Validate kinds match config in fragment when batching release notes #1321

Workflow file for this run

name: Require change fragment
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-20.04
steps:
- name: "Check for changelog entry"
uses: brettcannon/[email protected]
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"