FIX: Addes ci skip stamement to not cancel the workflow during the version change

This commit is contained in:
2025-09-03 19:49:16 +02:00
parent bb33667302
commit 7b0392a98c

View File

@@ -5,6 +5,7 @@ on:
push:
branches: [ main, test ]
paths: [ 'zabbix-apk-builder/**' ]
if: "!contains(gitea.event.head_commit.message, '[ci skip]')"
# Scheduled check for new versions (daily at 6 AM UTC)
schedule:
@@ -88,7 +89,7 @@ jobs:
git config --local user.email "action@gitea.com"
git config --local user.name "Gitea Action"
git add zabbix-apk-builder/APKBUILD
git commit -m "CHANGE: Update Zabbix to version $LATEST_VERSION" || exit 0
git commit -m "CHANGE: Update Zabbix to version $LATEST_VERSION [ci skip]" || exit 0
git push
build-packages: