From 73024524e4fa9ba6129894649a9ebf7ea48c49ed Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Dec 2025 15:55:14 +0000 Subject: [PATCH 1/2] Initial plan From 76db0b6f810828dd6c447f4e699f0831bcb26e3c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Dec 2025 16:01:07 +0000 Subject: [PATCH 2/2] feat: exclude Copilot PRs from auto-labeling rules Add exclusion for github-copilot[bot] actor in file-based auto-labeling and API Modified rules to prevent inappropriate label assignments on Copilot-created PRs. Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com> --- .github/policies/botRules.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/policies/botRules.yml b/.github/policies/botRules.yml index 3cd5afdb542751..64127887b2ac5a 100644 --- a/.github/policies/botRules.yml +++ b/.github/policies/botRules.yml @@ -317,6 +317,9 @@ configuration: triggerOnOwnActions: false - if: - payloadType: Pull_Request + - not: + isActivitySender: + user: github-copilot[bot] then: - if: - includesModifiedFiles: @@ -550,6 +553,9 @@ configuration: triggerOnOwnActions: false - if: - payloadType: Pull_Request + - not: + isActivitySender: + user: github-copilot[bot] - or: - includesModifiedFiles: files: