mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
Update changelog checker to catch invalid "fix" type (#12674)
This commit is contained in:
parent
0991dc2f4a
commit
8486cbf099
1 changed files with 3 additions and 0 deletions
3
.github/workflows/changelog-checker.yml
vendored
3
.github/workflows/changelog-checker.yml
vendored
|
|
@ -40,6 +40,9 @@ jobs:
|
|||
elif grep -q ':bugs$' $changelog_files; then
|
||||
echo "Found invalid type (bugs) in changelog - did you mean bug?"
|
||||
exit 1
|
||||
elif grep -q ':fix$' $changelog_files; then
|
||||
echo "Found invalid type (fix) in changelog - did you mean bug?"
|
||||
exit 1
|
||||
elif ! grep -q '```release-note:' $changelog_files; then
|
||||
# People often make changelog files like ```changelog:, which is incorrect.
|
||||
echo "Changelog file did not contain 'release-note' heading - check formatting."
|
||||
|
|
|
|||
Loading…
Reference in a new issue