Update bot.py

Signed-off-by: Matt C <matthew.compton@mymail.champlain.edu>
pull/1/head
Matt C 2 years ago committed by GitHub
parent 85c5f46f2d
commit c37055509a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,10 @@ from github import Github
g = Github(open(".access_token").read().strip()) g = Github(open(".access_token").read().strip())
repo = g.get_repo('crystal-linux/.github') targets = ['crystal-linux/.github', 'crystal-linux-packages/.github']
for tgt in targets:
repo = g.get_repo(tgt)
core_team = g.get_organization('crystal-linux').get_team_by_slug('core-team') core_team = g.get_organization('crystal-linux').get_team_by_slug('core-team')
core_team_members = core_team.get_members() core_team_members = core_team.get_members()

Loading…
Cancel
Save