Skip to content

Conversation

@decyjphr
Copy link
Collaborator

@decyjphr decyjphr commented Feb 3, 2023

Reverse merge and test #366

viks-kafka and others added 3 commits December 28, 2022 12:15
Description:

safe-settings use get-content api to fetch all the repo permission override files. That api has a limit of 1000 and our org had way > 1000 repo files in the admin repo.
This has lead to incorrect repo permissions.

GitHub Api docs: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content

Fix is to use the github tree api(https://docs.github.com/en/rest/git/trees?apiVersion=2022-11-28#get-a-tree) to read all the repos directory content.
@decyjphr decyjphr merged commit 57fa8ad into main-enterprise Feb 3, 2023
@decyjphr decyjphr deleted the decyjphr/merge-pr-366 branch February 3, 2023 02:02
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.

3 participants