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

Also set label when setting error status #9

Closed
rhwood opened this issue Oct 1, 2017 · 3 comments
Closed

Also set label when setting error status #9

rhwood opened this issue Oct 1, 2017 · 3 comments

Comments

@rhwood
Copy link

rhwood commented Oct 1, 2017

I have a project that I would like to be able set/unset a label when a PR is a work in progress (as well as using the error/success status). Is that doable without requiring more extensive permissions for the WIP bot?

@gr2m
Copy link
Collaborator

gr2m commented Oct 1, 2017

That’s not possible I’m afraid, it would need to be implemented. It’s fairly simple to build you own GitHub app though and use wip-bot as a template. You can deploy it to Glitch and edit your code right there, just follow instructions at https://probot.glitch.me :)

Note that you can also search PRs based on their commit status, maybe that helps already?
https://help.github.com/articles/searching-issues-and-pull-requests/#search-based-on-commit-status

@rhwood
Copy link
Author

rhwood commented Oct 1, 2017

I know a PR would need to be submitted. I was wondering if such a PR would, if accepted, require that every user of the bot reauthorize the bot?

@gr2m
Copy link
Collaborator

gr2m commented Oct 1, 2017

yes, people will get notifications about a change of permission and they woudl need to reauthorize the bot. But I would not accept such a PR at this point, I’m sorry. But happy to help you deploy your own bot instead :)

@rhwood rhwood closed this as completed Oct 6, 2017
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

No branches or pull requests

2 participants