From d545a3b614e7c63ba53a4dd5d5807938c418c066 Mon Sep 17 00:00:00 2001 From: Bryan Morgan Date: Thu, 15 Jan 2026 10:50:36 -0500 Subject: [PATCH] fix(automation): prevent label-enforcer loop by ignoring all bots (#16746) Co-authored-by: Sehoon Shon --- .github/workflows/label-enforcer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label-enforcer.yml b/.github/workflows/label-enforcer.yml index 173a80c103..8975e0d220 100644 --- a/.github/workflows/label-enforcer.yml +++ b/.github/workflows/label-enforcer.yml @@ -39,7 +39,7 @@ jobs: const labelName = context.payload.label.name; // Skip if the change was made by a bot to avoid infinite loops - if (username === 'github-actions[bot]') { + if (username === 'github-actions[bot]' || username === 'gemini-cli[bot]' || username.endsWith('[bot]')) { core.info('Change made by a bot. Skipping.'); return; }