-
Notifications
You must be signed in to change notification settings - Fork 102
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
Improve error behavior when loading policies #506
Comments
Retrying could fix the problem by either removing the status check or updating it. And we could trigger it by simple writting /retry in the comment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As reported in #405, Policy Bot will sometimes fail to discover a policy file due to a GitHub timeout (or other network error.) When this happens, we post a failed status check on the PR. This is undesirable for repositories that otherwise don't use Policy Bot, especially if the timeout or error happened while checking if there was an organization-level policy.
To make the issue worse, the failed status is never removed because when everything works correctly, the repository is ignored.
I think there are a few possible improvements:
The text was updated successfully, but these errors were encountered: