mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-11 21:11:32 +01:00
improvement: automate changelog management (#786)
This commit is contained in:
committed by
GitHub
parent
ca3d1e1199
commit
9fb1a20d82
20
.github/workflows/changelog-check.yaml
vendored
Normal file
20
.github/workflows/changelog-check.yaml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user