feat(automation): enforce '🔒 maintainer only' and fix bot loop (#16751)

This commit is contained in:
Bryan Morgan
2026-01-15 11:40:33 -05:00
committed by GitHub
parent f909c9ef90
commit 2b6bfe4097

View File

@@ -10,7 +10,7 @@ jobs:
enforce-label:
# Run this job only when restricted labels are changed
if: |-
${{ (github.event.label.name == 'help wanted' || github.event.label.name == 'status/need-triage') &&
${{ (github.event.label.name == 'help wanted' || github.event.label.name == 'status/need-triage' || github.event.label.name == '🔒 maintainer only') &&
(github.repository == 'google-gemini/gemini-cli' || github.repository == 'google-gemini/maintainers-gemini-cli') }}
runs-on: 'ubuntu-latest'
permissions: