-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Hey 👋
Thanks for this initiative! 💪
Would be nice to also configure auto-close of pull requests from non-collaborators that either have no bound GitHub issue/s or the issues are not assigned to the pull request submitter's account.
I want to first review an issue, greenlight and assign it manually to a specific vouched account.
I want to avoid 2 or more vouched accounts submitting competing pull requests for the same issue. I want visibility on who is working on what. I want to delay work on certain parts of the system to avoid conflicts when necessary.
Looks like we could actually support this with closingIssuesReferences via GraphQL and our Nu has the ability to query GraphQL already so yeah, this is possible.
I think this is actually two separate features:
-
check-prshould support something like--require-issuethat just requires that some issue is referenced to be closed -
check-prshould also support--require-issue-assignmentthat also requires at least one of the closed issues is assigned to the submitter.
Would this work?