From 23c5918d97c85065b1ecfa879f0e7c0a9c72ac99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Ros?= Date: Mon, 24 Nov 2025 15:45:08 -0800 Subject: [PATCH] Assign authors only on PR creation Prevents policies from re-assigning it when value is changed later --- .github/policies/resourceManagement.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 1f413d01e54..fd2fe656c91 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -158,6 +158,8 @@ configuration: description: Assign PRs to authors - if: - payloadType: Issue_Comment + - isAction: + action: Opened - isActivitySender: issueAuthor: True - hasLabel: @@ -222,3 +224,4 @@ configuration: onFailure: onSuccess: +