mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-05-22 09:03:23 +00:00
ci: block merge commits from bot branches in maintenance workflows [skip ci]
This commit is contained in:
3
.github/workflows/agentic_v2_builder.yml
vendored
3
.github/workflows/agentic_v2_builder.yml
vendored
@@ -34,7 +34,8 @@ jobs:
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
(github.event_name == 'push' &&
|
||||
github.ref == 'refs/heads/develop' &&
|
||||
!contains(github.event.head_commit.message, '[skip ci]'))
|
||||
!contains(github.event.head_commit.message, '[skip ci]') &&
|
||||
!contains(github.event.head_commit.message, 'bot/v2-elite-sync'))
|
||||
steps:
|
||||
- name: Repository Synchronization
|
||||
uses: actions/checkout@v4
|
||||
|
||||
5
.github/workflows/readme_sync.yml
vendored
5
.github/workflows/readme_sync.yml
vendored
@@ -18,7 +18,10 @@ concurrency:
|
||||
jobs:
|
||||
sync-readme:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
if: |
|
||||
!contains(github.event.head_commit.message, '[skip ci]') &&
|
||||
!contains(github.event.head_commit.message, 'bot/v2-elite-sync') &&
|
||||
!contains(github.event.head_commit.message, 'bot/knowledge-update')
|
||||
steps:
|
||||
- name: Repository Synchronization
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user