From de6b6da412a8dfa7a5f9c2180f9bd1d1b98db152 Mon Sep 17 00:00:00 2001 From: Maksym Buz Date: Thu, 4 Sep 2025 20:40:00 +0200 Subject: [PATCH] TEST: Adjusted conditions to trigged on schedule and push --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index dc416b9..93b571f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -13,8 +13,8 @@ on: jobs: check-version: runs-on: ubuntu-latest - # Skip the execution if the commit message contains [ci skip] - if: ${{ gitea.event.head_commit.author.name != 'Gitea Action' }} + # Skip if it's a push from Gitea Action (prevent recursive triggers), but allow schedule events + if: ${{ gitea.event_name == 'schedule' || (gitea.event_name == 'push' && gitea.event.head_commit.author.name != 'Gitea Action') }} outputs: should_build: ${{ steps.version-check.outputs.should_build }} latest_version: ${{ steps.version-check.outputs.latest_version }}