Enforce changelog entry via CI (#2255)

This commit is contained in:
Ruben Anders 2020-12-06 13:14:40 +01:00 committed by GitHub
parent 4436109a2f
commit da4b2d8494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
.github/workflows/changelog-check.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Changelog Check
on:
pull_request:
branches: [ master ]
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ]
jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Gives an error if there's no change in the changelog (except using label)
- name: Changelog check
uses: dangoslen/changelog-enforcer@v1.5.1
with:
changeLogPath: 'CHANGELOG.md'
skipLabel: 'no changelog entry needed'