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

Reduce number of API calls to get list of files tracked by GitHub #69

Merged
merged 3 commits into from
Mar 7, 2021

Conversation

dorny
Copy link
Owner

@dorny dorny commented Mar 7, 2021

This PR utilizes recursive parameter to directly fetch whole tree including all subtrees. If tree is too big and response is truncated, it will fall back to fetch tree using manual recursion.

closes #68

It's common to cancel all jobs/workflows after first error. There could still be test results user wants to see in a report
@dorny dorny merged commit a1cbedb into main Mar 7, 2021
@dorny dorny deleted the avoid-exceeding-api-limit branch March 7, 2021 11:01
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.

Fetching list of tracked files from GitHub fails with error "API rate limit exceeded for installation ID"
1 participant