TEST: Replaced condition to not trigger the job if commit done by Gitea bot

This commit is contained in:
2025-09-04 13:43:29 +02:00
parent baf814e0e5
commit 9f2e966662

View File

@@ -14,7 +14,7 @@ jobs:
check-version: check-version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Skip the execution if the commit message contains [ci skip] # Skip the execution if the commit message contains [ci skip]
if: ${{ !contains(gitea.event.head_commit.message, '[ci skip]') }} if: ${{ gitea.event.head_commit.author.name != 'Gitea Action' }}
outputs: outputs:
should_build: ${{ steps.version-check.outputs.should_build }} should_build: ${{ steps.version-check.outputs.should_build }}
latest_version: ${{ steps.version-check.outputs.latest_version }} latest_version: ${{ steps.version-check.outputs.latest_version }}