mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-05-22 00:53:37 +00:00
ci: harden V2 Builder and README Sync against self-triggering loops [skip ci]
This commit is contained in:
6
.github/workflows/agentic_v2_builder.yml
vendored
6
.github/workflows/agentic_v2_builder.yml
vendored
@@ -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
|
||||
|
||||
1
.github/workflows/readme_sync.yml
vendored
1
.github/workflows/readme_sync.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user