From 8486cbf0995efc130a3f34ff024aedc7aecc7430 Mon Sep 17 00:00:00 2001 From: Jim Kalafut Date: Wed, 29 Sep 2021 14:02:03 -0700 Subject: [PATCH] Update changelog checker to catch invalid "fix" type (#12674) --- .github/workflows/changelog-checker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/changelog-checker.yml b/.github/workflows/changelog-checker.yml index d04b676287..0df6a6b7af 100644 --- a/.github/workflows/changelog-checker.yml +++ b/.github/workflows/changelog-checker.yml @@ -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."