mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2026-01-09 21:51:40 +00:00
Update changelog checker to catch invalid "fix" type (#12674)
This commit is contained in:
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."
|
||||
|
||||
Reference in New Issue
Block a user