Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ configuration:
description: Assign PRs to authors
- if:
- payloadType: Issue_Comment
- isAction:
action: Opened
Comment on lines +161 to +162
Copy link

Copilot AI Nov 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The isAction: action: Opened condition is added to the wrong rule. This is part of the Issue_Comment rule (lines 159-170) that removes the 'waiting-author-feedback' label, not the Pull_Request rule (lines 154-158) that assigns PRs to authors.

To fix this issue and achieve the PR's goal of "assign authors only on PR creation", move these two lines to be part of the previous rule. The corrected structure should be:

- if:
  - payloadType: Pull_Request
  - isAction:
      action: Opened
  then:
  - assignTo:
      author: True
  description: Assign PRs to authors

Copilot uses AI. Check for mistakes.
- isActivitySender:
issueAuthor: True
- hasLabel:
Expand Down Expand Up @@ -222,3 +224,4 @@ configuration:

onFailure:
onSuccess: