From 2086602223aa0f3a8c4fa6004c5bc16d1d5ea00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 11 Oct 2025 13:30:57 +0200 Subject: [PATCH] chore: chore --- .gitea/workflows/kompose.yaml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/kompose.yaml b/.gitea/workflows/kompose.yaml index 70365852..7f7167ec 100644 --- a/.gitea/workflows/kompose.yaml +++ b/.gitea/workflows/kompose.yaml @@ -13,19 +13,18 @@ jobs: check: runs-on: ubuntu-latest steps: - steps: - - uses: actions/checkout@v4 - - name: Get head commit - run: | - export COMMIT_MESSAGE=$(git log --format=%B -n 1 HEAD | head -n 1) - echo "CHECK: '${{ COMMIT_MESSAGE }}'" - if [[ "${{ COMMIT_MESSAGE }}" == "#bot-message: *" ]]; then - echo "FOUND: '#bot-message: '" - echo "BOT_MESSAGE=${BOT_MESSAGE}" >> "${GITHUB_ENV}" - else - echo "NOT FOUND: '#bot-message: '" - echo 'BOT_MESSAGE=' >> "${GITHUB_ENV}" - fi + - uses: actions/checkout@v4 + - name: Get head commit + run: | + export COMMIT_MESSAGE="$(git log --format=%B -n 1 HEAD | head -n 1)" + echo "CHECK: '${{ COMMIT_MESSAGE }}'" + if [[ "${{ COMMIT_MESSAGE }}" == "#bot-message: *" ]]; then + echo "FOUND: '#bot-message: '" + echo "BOT_MESSAGE=${BOT_MESSAGE}" >> "${GITHUB_ENV}" + else + echo "NOT FOUND: '#bot-message: '" + echo 'BOT_MESSAGE=' >> "${GITHUB_ENV}" + fi build: runs-on: ubuntu-latest if: ${{ vars.BOT_MESSAGE == 'true' }}