Skip to content
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

check pull request author #18

Merged
merged 2 commits into from
Jan 19, 2021

Conversation

rachmari
Copy link
Contributor

@rachmari rachmari commented Jan 15, 2021

Hello 👋. I work on the GitHub docs team. We've recently run into an issue with open-source contributors that spurred this change. Currently, GitHub does not have a way to prevent external contributors from creating a pull request for a branch that originates from the base repository. This has become problematic for our open-source repo github/docs that uses repo-sync. Some external contributors open pull requests when they see a new repo-sync branch created. Because we auto-approve pull requests, it's possible for external contributors to get attributed with changes from the repo-sync workflows.

This pull request adds an input parameter author. The author is used to add the ability to only return pull requests creates by a specific author.

@juliangruber please let us know if this change is out of scope. I've also requested a review from a team member @JamesMGreene.

index.js Outdated Show resolved Hide resolved
Co-authored-by: James M. Greene <[email protected]>
@juliangruber juliangruber merged commit b3db845 into juliangruber:master Jan 19, 2021
@juliangruber
Copy link
Owner

Thanks! https://github.com/juliangruber/find-pull-request-action/releases/tag/v1.4.0

@JamesMGreene
Copy link
Contributor

Thanks for the quick turnaround, Julian! 🙇🏻‍♂️

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.

3 participants