FIX: Addes ci skip stamement to not cancel the workflow during the version change
This commit is contained in:
@@ -5,6 +5,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ main, test ]
|
branches: [ main, test ]
|
||||||
paths: [ 'zabbix-apk-builder/**' ]
|
paths: [ 'zabbix-apk-builder/**' ]
|
||||||
|
if: "!contains(gitea.event.head_commit.message, '[ci skip]')"
|
||||||
|
|
||||||
# Scheduled check for new versions (daily at 6 AM UTC)
|
# Scheduled check for new versions (daily at 6 AM UTC)
|
||||||
schedule:
|
schedule:
|
||||||
@@ -88,7 +89,7 @@ jobs:
|
|||||||
git config --local user.email "action@gitea.com"
|
git config --local user.email "action@gitea.com"
|
||||||
git config --local user.name "Gitea Action"
|
git config --local user.name "Gitea Action"
|
||||||
git add zabbix-apk-builder/APKBUILD
|
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
|
git push
|
||||||
|
|
||||||
build-packages:
|
build-packages:
|
||||||
|
|||||||
Reference in New Issue
Block a user