don't use printf
(its broken for some reason)
This commit is contained in:
parent
9868104f1c
commit
e17407bb5f
1 changed files with 1 additions and 2 deletions
|
@ -129,8 +129,7 @@ jobs:
|
||||||
id: check_commit_message
|
id: check_commit_message
|
||||||
run: |
|
run: |
|
||||||
COMMIT_MESSAGE="${{ steps.extract_commit_message.outputs.message }}"
|
COMMIT_MESSAGE="${{ steps.extract_commit_message.outputs.message }}"
|
||||||
ESCAPED_COMMIT_MESSAGE="$(printf '%q' "$COMMIT_MESSAGE")"
|
OUTPUT="$(python .forgejo/workflows/scripts/message.py '$COMMIT_MESSAGE')"
|
||||||
OUTPUT="$(python .forgejo/workflows/scripts/message.py '$ESCAPED_COMMIT_MESSAGE')"
|
|
||||||
if [ "$OUTPUT" = "Usage: python message.py <commit_message>" ]; then
|
if [ "$OUTPUT" = "Usage: python message.py <commit_message>" ]; then
|
||||||
echo "Called without commit message!"
|
echo "Called without commit message!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Reference in a new issue