mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-03-28 22:46:30 +08:00
52 lines
2.0 KiB
Markdown
52 lines
2.0 KiB
Markdown
---
|
|
title: Polls
|
|
description: Create polls in GitHub issues.
|
|
slug: polls
|
|
screenshots:
|
|
- https://raw.githubusercontent.com/evenchange4/gh-polls-bot/master/docs/screenshot.png
|
|
- https://raw.githubusercontent.com/evenchange4/gh-polls-bot/master/docs/demo.gif
|
|
- https://raw.githubusercontent.com/evenchange4/gh-polls-bot/master/docs/logo.png
|
|
authors:
|
|
- evenchange4
|
|
repository: evenchange4/gh-polls-bot
|
|
host: https://gh-polls-bot.now.sh
|
|
stars: 111
|
|
updated: 2017-12-13 16:57:39 UTC
|
|
installations: 60
|
|
organizations:
|
|
- apex
|
|
- chaijs
|
|
- detailyang
|
|
- ahmetb
|
|
- probot
|
|
- hql287
|
|
- evhub
|
|
- Glavin001
|
|
- jbarlow83
|
|
- cheton
|
|
---
|
|
|
|
# GitHub Polls Bot
|
|
|
|
> A GitHub App built with [Probot](https://github.com/probot/probot) that automatically creates [gh-polls](https://github.com/apex/gh-polls) in GitHub issues.
|
|
|
|
[](https://travis-ci.org/evenchange4/gh-polls-bot) [](https://codecov.io/gh/evenchange4/gh-polls-bot)
|
|
|
|
## Usage
|
|
|
|
1. Configure the GitHub App: [github.com/apps/polls](https://github.com/apps/polls)
|
|
2. Add command to issue:
|
|
|
|
```md
|
|
/polls Option1 'Option 2' "Option 3"
|
|
|
|
# Automatically replace with the following markdown =>
|
|
[](https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod/poll/01BXZMATAZ5BXF8RVRAMRSSANA/Option1/vote)
|
|
[](https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod/poll/01BXZMATAZ5BXF8RVRAMRSSANA/Option%202/vote)
|
|
[](https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod/poll/01BXZMATAZ5BXF8RVRAMRSSANA/Option%203/vote)
|
|
```
|
|
|
|
## LICENSE
|
|
|
|
MIT: [http://michaelhsu.mit-license.org](http://michaelhsu.mit-license.org)
|