mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-22 03:14:21 +00:00
12 lines
206 B
Python
12 lines
206 B
Python
from os import getenv
|
|
|
|
from github import Auth, Github
|
|
|
|
TOKEN = getenv("GITHUB_PERSONAL_ACCESS_TOKEN")
|
|
|
|
auth = Auth.Token(TOKEN)
|
|
g = Github(auth=auth)
|
|
|
|
for repo in g.get_user().get_repos():
|
|
print(repo)
|