diff --git a/.gitea/workflows/kompose.yaml b/.gitea/workflows/kompose.yaml index 7f7167ec..2b4bda8f 100644 --- a/.gitea/workflows/kompose.yaml +++ b/.gitea/workflows/kompose.yaml @@ -16,9 +16,9 @@ jobs: - uses: actions/checkout@v4 - name: Get head commit run: | - export COMMIT_MESSAGE="$(git log --format=%B -n 1 HEAD | head -n 1)" + 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: *" ]; then echo "FOUND: '#bot-message: '" echo "BOT_MESSAGE=${BOT_MESSAGE}" >> "${GITHUB_ENV}" else