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 if commit author is blacklisted before checking if they are whitelisted #830

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

maorfr
Copy link
Member

@maorfr maorfr commented Feb 13, 2022

this PR is an implementation proposal to prevent cases like #831 by adding known users to the list of committers to skip (introduced in #488).
if the PR author is in the deny list, they will never be checked for org membership.

this will prevent the api call that returns 404 and will prevent rate limit.

internal reference: https://issues.redhat.com/browse/APPSRE-4423

@maorfr maorfr force-pushed the avoid-404 branch 2 times, most recently from 05585f3 to 5107187 Compare February 13, 2022 10:14
@maorfr
Copy link
Member Author

maorfr commented Feb 15, 2022

@jenkinsci/ghprb-plugin-developers any chance you can take a look? hope the approach makes sense!

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.

1 participant