'%q'
not '%a'
😭
This commit is contained in:
parent
4af2e46d57
commit
b8e4515179
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
COMMIT_MESSAGE="${{ steps.extract_commit_message.outputs.message }}"
|
||||
ESCAPED_COMMIT_MESSAGE=$(printf '%a' "$COMMIT_MESSAGE")
|
||||
ESCAPED_COMMIT_MESSAGE=$(printf '%q' "$COMMIT_MESSAGE")
|
||||
OUTPUT="$(python .forgejo/workflows/scripts/message.py '$ESCAPED_COMMIT_MESSAGE')"
|
||||
if [ "$OUTPUT" = "Usage: python message.py <commit_message>" ]; then
|
||||
echo "Called without commit message!"
|
||||
|
|
Reference in a new issue