mirror of
https://github.com/msberends/AMR.git
synced 2025-07-11 11:01:53 +02:00
(v2.1.1.9076)
This commit is contained in:
2
.github/prehooks/commit-msg
vendored
2
.github/prehooks/commit-msg
vendored
@ -37,7 +37,7 @@ COMMIT_MSG=$(cat "$COMMIT_MSG_FILE")
|
||||
|
||||
# Check if commit should skip checks
|
||||
if [[ "$COMMIT_MSG" =~ no-?checks?|no-?verify ]]; then
|
||||
echo "Not modifying commit message:"
|
||||
echo "Not modifying commit message with 'pre-commit':"
|
||||
echo "Commit message contains 'no-check' or 'no-verify'."
|
||||
echo ""
|
||||
exit 0
|
||||
|
2
.github/prehooks/pre-commit
vendored
2
.github/prehooks/pre-commit
vendored
@ -34,7 +34,7 @@ COMMIT_MSG_FILE=".git/COMMIT_EDITMSG"
|
||||
if [ -f "$COMMIT_MSG_FILE" ]; then
|
||||
COMMIT_MSG=$(cat "$COMMIT_MSG_FILE")
|
||||
if [[ "$COMMIT_MSG" =~ no-?checks?|no-?verify ]]; then
|
||||
echo "Not running prehook:"
|
||||
echo "Not running prehook 'pre-commit':"
|
||||
echo "Commit message contains 'no-check' or 'no-verify'."
|
||||
echo ""
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user