Update changelog checker to catch invalid "fix" type (#12674)

This commit is contained in:
Jim Kalafut
2021-09-29 14:02:03 -07:00
committed by GitHub
parent 0991dc2f4a
commit 8486cbf099

View File

@@ -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."