Last active
August 29, 2015 14:11
-
-
Save Bachmann1234/7f05fd0f6c689e1ddce2 to your computer and use it in GitHub Desktop.
PostToPR
This file contains hidden or 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
from github import Github | |
token = '<Token>' | |
pr_number = 1126 | |
g = Github(token) | |
repo = g.get_repo('<Repo>') | |
pr = repo.get_pull(pr_number) | |
with open('diff-cover.txt') as f: | |
pr.create_issue_comment(f.read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment