Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better way to provide installation ID when running bot locally #46

Open
pllim opened this issue Dec 7, 2018 · 0 comments · May be fixed by #57
Open

Better way to provide installation ID when running bot locally #46

pllim opened this issue Dec 7, 2018 · 0 comments · May be fixed by #57

Comments

@pllim
Copy link
Contributor

pllim commented Dec 7, 2018

When testing bot locally, I had to do extra steps like:

from baldrick.github.github_auth import repo_to_installation_id
ins_id = repo_to_installation_id('user/repo')
pr = PullRequestHandler('user/repo', pr_num, installation=ins_id)

But desired:

pr = PullRequestHandler('user/repo', pr_num)
@pllim pllim linked a pull request Dec 9, 2018 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant