Skip to content

Commit 09980c4

Browse files
committed
update [skip jira] message
1 parent 58f3c73 commit 09980c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/scripts/commit-checker.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ for commit in $BRANCH_COMMITS; do
3636
invalidCommit=true
3737
fi
3838
done
39-
# If any commit are invalid, print reject message
39+
40+
# If any commit are invalid, print the reject message
4041
if [ "$invalidCommit" == true ]; then
41-
echo "Commits must include a JIRA ticket number e.g. AAA-1234"
42+
echo "Commit messages must include a JIRA ticket number e.g. \"AAA-1234\". This can be anywhere in your commit"
4243
echo "You can skip this step if necessary by running \"git commit --amend\" and add \"[skip jira]\" in your commit message"
4344
echo "Please fix the commit message(s) and push again."
4445
echo "https://help.github.com/en/articles/changing-a-commit-message"

0 commit comments

Comments
 (0)