- Notifications
You must be signed in to change notification settings - Fork10
Automatically create polls in GitHub issues.
License
NotificationsYou must be signed in to change notification settings
evenchange4/gh-polls-bot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A GitHub App built withProbot that automatically createsgh-polls in GitHub issues.
- Configure the GitHub App:github.com/apps/polls
- Add command to issue:
/polls Option1 'Option 2' "Option 3"#Automatically replace with the following markdown =>[](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option1/vote)[](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option%202/vote)[](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option%203/vote)
| Screenshot | ![]() |
|---|---|
| Demo | ![]() |
- Create a
.envfile from.env.example. - Download the
private-key.pemfrom GitHub and move it to your project’s directory.
Note: Please follow theDeveloping an App section of Probot documents.
- node >= 9.0.0
- yarn >= 1.3.2
$ git clone https://github.com/evenchange4/gh-polls-bot$ yarn install --pure-lockfile$ yarn run dev # dev server$ yarn start # prod server$ yarn run format$ yarn run eslint$ yarn run test:watch$ yarn run flow$ yarn run flow-coverageAny git commits push to master branch.
$ npm version patch$ yarn run changelog
Note: PRIVATE_KEY pem workaround:first-timers-bot #89
- Create-Probot-App
- Travis - CI
- Zeit Now.sh
- Redirect to github.com for private repos.[apex/gh-polls#3]
- PEM format doesn't play nicely with now.sh secrets/env vars.[probot/friction#17]
- Links related to GH polls:
- Web App – GH polls web app
- apex/gh-polls – Polls for user feedback in GitHub issuesgh-polls.com
- bukinoshita/gh-polls – node module to create gh-polls
- ⇄ Pull requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.
- Pull requests must be accompanied by passing automated tests (
$ yarn run test).
About
Automatically create polls in GitHub issues.
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.


