Bypass PR triage for spring-petclinic org members#543
Merged
Conversation
…ns and checking template completeness
Use ORG_READ_PAT to check spring-petclinic organization membership before applying PR triage rules. This allows both public and private org members to bypass the non-project PR detection and template completeness checks, while keeping comments, labels, and PR closure actions on GITHUB_TOKEN.
44fc235 to
8a1978b
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
This PR adds automated pull request triage to reduce invalid or low-signal submissions on the upstream project.
It introduces:
needs-informationWhy
This repository is widely used for courses, demos, and experimentation, which generates a significant number of PRs that are not intended for the upstream project.
The goal is to reduce maintainer noise while preserving a clear path for valid community contributions.
Implementation details
ORG_READ_PATso both public and private spring-petclinic members are exempt from automated triageGITHUB_TOKENso labels, comments, and closures still come from GitHub ActionsValidation
ORG_READ_PATsupport added for private org membership checksNotes
ORG_READ_PATmust be configured as an Actions secret and must belong to a spring-petclinic organization member with permission to read organization membership.