Skip to content

feat: add request_changes action to PR comment alerts#6304

Open
DharunMR wants to merge 1 commit intomindersec:mainfrom
DharunMR:Block-binaries
Open

feat: add request_changes action to PR comment alerts#6304
DharunMR wants to merge 1 commit intomindersec:mainfrom
DharunMR:Block-binaries

Conversation

@DharunMR
Copy link
Copy Markdown
Contributor

@DharunMR DharunMR commented Apr 8, 2026

Summary

Adds a new action configuration to pull_request_comment alerts, allowing Minder to send a REQUEST_CHANGES event to GitHub to actively block PR merges when a rule fails.

Testing

Added unit tests to verify the configuration correctly triggers the REQUEST_CHANGES GitHub API event while preserving backward compatibility for the default COMMENT behavior.

Signed-off-by: DharunMR <maddharun56@gmail.com>
@DharunMR DharunMR requested a review from a team as a code owner April 8, 2026 15:28
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 58.619% (+0.003%) from 58.616% — DharunMR:Block-binaries into mindersec:main

Copy link
Copy Markdown
Member

@evankanderson evankanderson left a comment

Choose a reason for hiding this comment

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

I think there's a competing PR in #6262 which has a bit more functionality -- can we let that one play out first?

@DharunMR
Copy link
Copy Markdown
Contributor Author

I think there's a competing PR in #6262 which has a bit more functionality -- can we let that one play out first?

Just now seen that pr doing this , should i close this pr?

@evankanderson
Copy link
Copy Markdown
Member

Feel free to comment / review encourage on that PR. If it doesn't merge, then we might come back to this one.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Block binaries at PR-time

3 participants