2020-12-06 13:14:40 +01:00
|
|
|
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:
|
2021-11-06 12:26:39 +01:00
|
|
|
- uses: actions/checkout@v2.4.0
|
2020-12-06 13:14:40 +01:00
|
|
|
|
|
|
|
# Gives an error if there's no change in the changelog (except using label)
|
|
|
|
- name: Changelog check
|
2021-08-19 21:59:46 +02:00
|
|
|
uses: dangoslen/changelog-enforcer@v2.3.1
|
2020-12-06 13:14:40 +01:00
|
|
|
with:
|
|
|
|
changeLogPath: 'CHANGELOG.md'
|
2020-12-19 11:32:45 +01:00
|
|
|
skipLabels: 'no changelog entry needed, ci, submodules'
|