ci: harden V2 Builder and README Sync against self-triggering loops [skip ci]

This commit is contained in:
Nubenetes Bot
2026-05-19 09:53:44 +02:00
parent 043389790a
commit e4a03db51d
2 changed files with 6 additions and 1 deletions

View File

@@ -26,7 +26,11 @@ permissions:
jobs:
build-v2-edition:
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/develop')
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' &&
github.ref == 'refs/heads/develop' &&
!contains(github.event.head_commit.message, '[skip ci]'))
steps:
- name: Repository Synchronization
uses: actions/checkout@v4

View File

@@ -14,6 +14,7 @@ permissions:
jobs:
sync-readme:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Repository Synchronization
uses: actions/checkout@v4