You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would also like to do this! The GH_TOKEN that I am passing is a Personal Access Token that has read/write to every repository in our organization, but it seems to only be grabbing public repos. I ran a report with INACTIVE_DAYS: 1 and only got a few dozen repos - I expected close to 500 from our private organization.
List public repositories for the specified username.
Based on some other docs (which are 3 years old, and the github3.py lib seems to kinda have some unclear documentation around this), it seems like this line:
I'm definitely not a python expert so the above might not be 100% correct, but I think the repositories_by(organization) method call is the root of this issue.
👋🏻 Hi @shahmanthan1209 and @ahatzz11, That looks correct to me so I ran a quick test and it does in fact grab the private repos as long as the token has permission. When I designed this, I had in mind that this would be for public repos but no reason it couldn't be used internally as well!
Hi team,
Can you please advise on how to run the GitHub action against the private repositories?
The text was updated successfully, but these errors were encountered: