We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f3c73 commit 09980c4Copy full SHA for 09980c4
.github/scripts/commit-checker.sh
@@ -36,9 +36,10 @@ for commit in $BRANCH_COMMITS; do
36
invalidCommit=true
37
fi
38
done
39
-# If any commit are invalid, print reject message
+
40
+# If any commit are invalid, print the reject message
41
if [ "$invalidCommit" == true ]; then
- 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"
43
echo "You can skip this step if necessary by running \"git commit --amend\" and add \"[skip jira]\" in your commit message"
44
echo "Please fix the commit message(s) and push again."
45
echo "https://help.github.com/en/articles/changing-a-commit-message"
0 commit comments