Skip to content

Conversation

@sebastienros
Copy link
Member

@sebastienros sebastienros commented Nov 25, 2025

Moving the condition to the correct node

Microsoft Reviewers: Open in CodeFlow

Moving the condition to the correct node
@sebastienros sebastienros requested a review from a team as a code owner November 25, 2025 22:29
Copilot AI review requested due to automatic review settings November 25, 2025 22:29
Copilot finished reviewing on behalf of sebastienros November 25, 2025 22:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR corrects a misconfiguration in the GitHub policies resource management file by moving the isAction: Opened condition from an incorrect location to its proper context. The condition was previously associated with an Issue_Comment handler but should have been associated with the Pull_Request handler.

Key Changes:

  • Moved isAction: Opened condition from the Issue_Comment block (lines 162-170) to the Pull_Request block (lines 153-160)
  • This ensures PRs are only assigned to authors when they are opened, not on every PR event
  • Removed the incorrect condition from the Issue_Comment block that handles author feedback labels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants