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

Handle 451 #36

Open
jeffmendoza opened this issue Aug 20, 2021 · 0 comments
Open

Handle 451 #36

jeffmendoza opened this issue Aug 20, 2021 · 0 comments
Assignees

Comments

@jeffmendoza
Copy link
Member

https://developer.github.com/changes/19/#--the-451-status-code-is-now-supported
repo cannot be accessed: GET https://api.github.com/repos/...: 451 Repository access blocked []

Looks like repos can be listed, apps installed, but unavailable due to DMCA takedown request. Allstar should catch this abort this repo, and continue enforcing on other repos in the installation.

Currently we are aborting the whole installation/org when hitting this.
https://github.com/ossf/allstar/blob/main/pkg/enforce/enforce.go#L107

@jeffmendoza jeffmendoza added the help wanted Extra attention is needed label Aug 20, 2021
@jeffmendoza jeffmendoza removed the help wanted Extra attention is needed label Nov 9, 2021
@jeffmendoza jeffmendoza self-assigned this Nov 9, 2021
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

No branches or pull requests

1 participant