TEST: Adjusted conditions to trigged on schedule and push
This commit is contained in:
@@ -13,8 +13,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
check-version:
|
check-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Skip the execution if the commit message contains [ci skip]
|
# Skip if it's a push from Gitea Action (prevent recursive triggers), but allow schedule events
|
||||||
if: ${{ gitea.event.head_commit.author.name != 'Gitea Action' }}
|
if: ${{ gitea.event_name == 'schedule' || (gitea.event_name == 'push' && 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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user