-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[workflows] Update commit access request PR links #146169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR updates the links used to show the PR contribution stats of the user requesting commit access to the LLVM project. The link previously would only show the PRs that were currently opened by the user because the `/pulls/<username>` endpoint automatically applies the `is:open` filter. The contribution guidelines suggest that the user should have at least 3 merged PRs to be considered for commit access so this seems like a relavant data point to add. We now show all PRs that the user has created and a separate link for the PRs that are merged.
boomanaiden154
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I agree with Jlalond@ comment. Please address that before landing this change.
Also, please let tstellar@ review this change before landing as he is the one who goes through these.
|
@tstellar please take a look when you get a chance, thanks! |
@tstellar please take a look when you get a chance, thanks! |
@tstellar please take a look when you get a chance, thanks! |
|
@dmpots Can we add is:merged to the query? That would be the most helpful, those are what actually count towards the requirements. |
@tstellar do you mean that we should only have the one link that shows the merged PRs and not the separate link for total vs. merged? It is currently adding the |
tstellar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what you are saying now, what you have here is fine.
This PR updates the links used to show the PR contribution stats of the user requesting commit access to the LLVM project. Previously we would only show the PRs that were currently opened by the user because the `/pulls/<username>` endpoint automatically applies the `is:open` filter. The contribution guidelines suggest that the user should have at least 3 merged PRs to be considered for commit access so this seems like a relevant data point to add. We now show all PRs that a user has created (not just the open ones) and a separate link for the PRs that are merged.
This PR updates the links used to show the PR contribution stats of the user requesting commit access to the LLVM project. Previously we would only show the PRs that were currently opened by the user because the
/pulls/<username>endpoint automatically applies theis:openfilter.The contribution guidelines suggest that the user should have at least 3 merged PRs to be considered for commit access so this seems like a relevant data point to add.
We now show all PRs that a user has created (not just the open ones) and a separate link for the PRs that are merged.