Last active
July 14, 2019 21:18
-
-
Save henchc/3b6dab453c60384f8f9f1a06ca4856d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
TOKEN = os.environ.get('HENCHBOT_TOKEN') | |
for repo in ['binderhub', 'repo2docker']: | |
if commit_info[repo]['live'] != commit_info[repo]['latest']: | |
res = requests.post('https://api.github.com/repos/jupyterhub/mybinder.org-deploy/forks', | |
headers={'Authorization': 'token {}'.format(TOKEN)}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment