From 686d05f266de8214fdcf5daf8fd14767446a2d8f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 00:16:26 +0000 Subject: [PATCH 1/3] Initial plan From bcafb5f3499aa9656a067e69dfe45f16bf020f5b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 00:26:46 +0000 Subject: [PATCH 2/3] Initial analysis: bot-detection allowlist needs copilot addition Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ai-moderator.lock.yml | 1 + .github/workflows/auto-triage-issues.lock.yml | 1 + .github/workflows/example-custom-error-patterns.lock.yml | 1 + .github/workflows/workflow-generator.lock.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index fdacecbdf42..f3bf929dd7a 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -1015,6 +1015,7 @@ jobs: GH_AW_RATE_LIMIT_MAX: "5" GH_AW_RATE_LIMIT_WINDOW: "60" GH_AW_RATE_LIMIT_EVENTS: "issue_comment,issues,workflow_dispatch" + GH_AW_RATE_LIMIT_IGNORED_ROLES: "admin,maintain,write" with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/auto-triage-issues.lock.yml b/.github/workflows/auto-triage-issues.lock.yml index 9d34e93bc6d..676e352e53d 100644 --- a/.github/workflows/auto-triage-issues.lock.yml +++ b/.github/workflows/auto-triage-issues.lock.yml @@ -1072,6 +1072,7 @@ jobs: GH_AW_RATE_LIMIT_MAX: "5" GH_AW_RATE_LIMIT_WINDOW: "60" GH_AW_RATE_LIMIT_EVENTS: "issues,workflow_dispatch" + GH_AW_RATE_LIMIT_IGNORED_ROLES: "admin,maintain,write" with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/example-custom-error-patterns.lock.yml b/.github/workflows/example-custom-error-patterns.lock.yml index 890c0df3378..e20898d296a 100644 --- a/.github/workflows/example-custom-error-patterns.lock.yml +++ b/.github/workflows/example-custom-error-patterns.lock.yml @@ -509,6 +509,7 @@ jobs: GH_AW_RATE_LIMIT_MAX: "5" GH_AW_RATE_LIMIT_WINDOW: "60" GH_AW_RATE_LIMIT_EVENTS: "issues" + GH_AW_RATE_LIMIT_IGNORED_ROLES: "admin,maintain,write" with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/workflow-generator.lock.yml b/.github/workflows/workflow-generator.lock.yml index 010f60e8275..919447be030 100644 --- a/.github/workflows/workflow-generator.lock.yml +++ b/.github/workflows/workflow-generator.lock.yml @@ -1140,6 +1140,7 @@ jobs: GH_AW_RATE_LIMIT_MAX: "5" GH_AW_RATE_LIMIT_WINDOW: "60" GH_AW_RATE_LIMIT_EVENTS: "issues" + GH_AW_RATE_LIMIT_IGNORED_ROLES: "admin,maintain,write" with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | From 6a11117ce66b2a22c36d8360951d9a5b279b1715 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 00:27:47 +0000 Subject: [PATCH 3/3] Add copilot to bot-detection allowlist - Added "copilot" to bot allowlist on line 197 - Aligns with documentation on line 328 - Prevents false positive detections of @Copilot GitHub App Fixes #15033 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/bot-detection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bot-detection.md b/.github/workflows/bot-detection.md index bca5c0fe40a..f483d861f0d 100644 --- a/.github/workflows/bot-detection.md +++ b/.github/workflows/bot-detection.md @@ -194,7 +194,7 @@ Analyze the account for these 8 specific red flags: 3. For bots: Verify if it's a legitimate, known bot (dependabot, renovate, github-actions) **Threshold**: Flag if: -- User type is "Bot" AND not in allowlist: [dependabot, renovate, github-actions] +- User type is "Bot" AND not in allowlist: [dependabot, renovate, github-actions, copilot] - OR username ends with `[bot]` but isn't a known legitimate bot ## Analysis Process