improvement: automate changelog management (#786)

This commit is contained in:
Thierno IB. BARRY
2020-03-17 14:22:22 +01:00
committed by GitHub
parent ca3d1e1199
commit 9fb1a20d82
11 changed files with 863 additions and 58 deletions

20
.github/workflows/changelog-check.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: CHANGELOG Checks
on:
pull_request:
paths:
- CHANGELOG.md
jobs:
changelog-check:
name: CHANGELOG Check
runs-on: ubuntu-latest
steps:
- name: Fail the check if changelog change
run: |-
echo "Thank you for your contribution!"
echo ""
echo "The 'CHANGELOG.md' file contents are handled by the maintainers during merge. This is to prevent pull request merge conflicts."
echo "Please see the Contributing Guide for additional pull request review items."
echo ""
echo "Remove any changes to the 'CHANGELOG.md' file and commit them in this pull request."
exit 1