We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d116c8b commit cadcbf0Copy full SHA for cadcbf0
entrypoint.py
@@ -24,9 +24,7 @@
24
25
# Fetch the repository object
26
g = Github(github_token)
27
-# Split username/repository
28
-github_repository_parts = [l.strip() for l in github_repository.split('/')]
29
-repo = g.get_user().get_repo(github_repository_parts[1])
+repo = g.get_repo(github_repository)
30
# Create the issue
31
issue = repo.create_issue(issue_title, issue_content)
32
print("Created issue %d" % (issue.number))
0 commit comments