Comments (4)
Sounds legit.
While we work it out, I'd suggest using list-repos to get the list of repos, then use the output to run analyze with the --repository flag and a subset of the repos each time (let me know if you need help with that)
from legitify.
@danielpops can you please checkout gofri/transport
, run make build
and run legitify to see if that fixes the issue for you?
from legitify.
hey @danielpops,
The secondary rate limit fix is now released: https://github.com/Legit-Labs/legitify/releases/tag/v0.2.2
so feel free to pick legitify off the release and try it out.
I'm closing this issue for now; If you still tackle rate limit issues running v0.2.2 please comment here and we'll reopen it.
from legitify.
@gofri @gal-legit I believe I've just run into this.
My org has ~7k repositories.
And I'm running legitify 1.0.7 Commit Homebrew
Thanks, and let me know if there's anything else I could help with.
Alternatively, would it be possible to consider implementing support for specifying your own rate limit?
2024/05/21 12:33:57 2024/05/21 12:33:57 error getting rules set for repo1: GET https://api.github.com/repos/my-org/repo1/rules/branches/master: 403 You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 1660:26EC0F:31DC5A3:323B67D:664C7894. []
2024/05/21 12:33:57 2024/05/21 12:33:57 error getting rules set for repo2: GET https://api.github.com/repos/my-org/repo2/rules/branches/master: 403 You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 1660:26EC0F:31DC62D:323B710:664C7895. []
2024/05/21 12:33:57 2024/05/21 12:33:57 attempt 3/5 failed: collect repositories for my-org with err: non-200 OK status code: 403 Forbidden body: "{\n "documentation_url": "https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits\",\n "message": "You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 1660:26EC0F:31DBACD:323AB9C:664C7893."\n}"
2024/05/21 12:33:57 2024/05/21 12:33:57 all 5 attempts failed (collect repositories for volvo-cars) with err: non-200 OK status code: 403 Forbidden body: "{\n "documentation_url": "https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits\",\n "message": "You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 1660:26EC0F:31DC8E9:323B9D1:664C7895."\n}"
2024/05/21 12:33:57 2024/05/21 12:33:57 BUG: closing bar repository although it is not completed. please report this issue to legitify repository.
Thanks!
from legitify.
Related Issues (20)
- Reduce GitLab API Calls HOT 6
- Report Script HOT 1
- Policy Skip Support for GitHub Action HOT 1
- Parameterize output report name in GH action HOT 2
- legitify analyze --repo doesn't support gitlab projects within subgroups HOT 5
- When the "ignore-policies" option is enabled, GitHub Action disregards the "extra" parameter HOT 4
- SARIF format results do no supply the actual violation results? HOT 2
- legitify doesn't support nested GitLab projects completely HOT 8
- "organization_has_too_many_admins" policy doesn't flag an organization with 8 owners HOT 5
- Add the needed permissions/scopes to the custom action documentation HOT 4
- Running the GitHub action with ` scorecard: verbose` fails with error `failed to enrich scorecard: expecting []ScorecardCheck` HOT 1
- Support using legitify action with GITHUB_TOKEN
- 1.0.5 release did not get completed HOT 2
- "Reaching out" Message comes with every usage of legitify convert HOT 1
- Unmet prerequisite: premium, but premium license is used HOT 6
- Restricting email notifications (GitHub) HOT 2
- Skip evaluating archived GitHub repos in an org HOT 2
- GHA - unable to add extra: --namespace -unknown flag HOT 2
- GitHub Ruleset awareness HOT 1
- Gitlab group license discovery fails with 1.0.8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legitify.