#bot-message: It's all good now baby...

This commit is contained in:
2025-10-11 13:45:50 +02:00
parent 3a461fa58d
commit 56777f13a7

View File

@@ -18,7 +18,7 @@ jobs:
run: |
export COMMIT_MESSAGE=`git log --format=%B -n 1 HEAD | head -n 1`
echo "CHECK: '${COMMIT_MESSAGE}'"
if [[ "${COMMIT_MESSAGE}" == "#bot-message: *" ]]; then
if [ "${COMMIT_MESSAGE/#bot-message: /""}" != "$COMMIT_MESSAGE" ]; then
echo "FOUND: '#bot-message: '"
echo "BOT_MESSAGE='true'" >> "${GITHUB_ENV}"
else