All Projects → enkidevs → Approve Ci

enkidevs / Approve Ci

👍 Monitor pull requests and check for approval

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Approve Ci

Kuro
An easy to use self bot with different utilities written in NodeJS
Stars: ✭ 31 (-13.89%)
Mutual labels:  bot
Strawpoll Voting Bot
A voting bot written in python 3.x for strawpoll.de. It uses a proxy list to vote multiple times in a survey. Works on all platforms
Stars: ✭ 32 (-11.11%)
Mutual labels:  bot
Cyclone
Powerful workflow engine and end-to-end pipeline solutions implemented with native Kubernetes resources. https://cyclone.dev
Stars: ✭ 978 (+2616.67%)
Mutual labels:  continuous-integration
Spytrojan keylogger
[Solo para programadores] Troyano espía | Keylogger solo para Windows, se replica en el sistema y se inicia automaticamente al iniciar sesión. | Envío de registro mediante [Base de Datos], [Gmail] o [BotTelegram].
Stars: ✭ 32 (-11.11%)
Mutual labels:  bot
Botframework Solutions
Welcome to the Bot Framework Solutions repository which is the home for a set of templates and solutions to help build advanced conversational experiences using Azure Bot Service and Bot Framework. Microsoft Bot Framework is a comprehensive framework for building enterprise-grade conversational AI experiences.
Stars: ✭ 965 (+2580.56%)
Mutual labels:  bot
Pytlas
An open-source 🤖💬 Python 3 assistant library built for people and made to be super easy to setup and understand
Stars: ✭ 34 (-5.56%)
Mutual labels:  bot
Dogey
🐶 - My general purpose bot for Discord
Stars: ✭ 30 (-16.67%)
Mutual labels:  bot
Class bot
An Automated Background Python bot that notifies you during your classes when your name is called or the keywords "present"/"attendance" are called out.
Stars: ✭ 36 (+0%)
Mutual labels:  bot
Modmail
A feature rich discord Modmail bot
Stars: ✭ 957 (+2558.33%)
Mutual labels:  bot
Discord4j
Discord4J is a fast, powerful, unopinionated, reactive library to enable quick and easy development of Discord bots for Java, Kotlin, and other JVM languages using the official Discord Bot API.
Stars: ✭ 973 (+2602.78%)
Mutual labels:  bot
Leavexchat Bot
Keep WeChat messages but leave WeChat. This Telegram bot is here to release you.
Stars: ✭ 32 (-11.11%)
Mutual labels:  bot
Obed Bot
🍴 Obed Slack Bot, na požiadanie kontroluje aktuálnu ponuku denného menu reštaurácii. [only for slovak|czech users]
Stars: ✭ 32 (-11.11%)
Mutual labels:  bot
Reminder Bot
A clone of the 'Hello Jarvis' Facebook Messenger bot, built with Microsoft Bot Framework and Wit.ai.
Stars: ✭ 34 (-5.56%)
Mutual labels:  bot
Mineflayer Statemachine
A state machine plugin for Mineflayer to aid in designing more complex behavior trees.
Stars: ✭ 32 (-11.11%)
Mutual labels:  bot
Feedforbot
Bot for forwarding updates from RSS/Atom feeds to Telegram
Stars: ✭ 35 (-2.78%)
Mutual labels:  bot
Openkore
A free/open source client and automation tool for Ragnarok Online
Stars: ✭ 956 (+2555.56%)
Mutual labels:  bot
Sneakerbot
Stars: ✭ 33 (-8.33%)
Mutual labels:  bot
Throw Voice
Simple audio recording for Discord. Mirror of https://gitlab.com/pawabot/pawa
Stars: ✭ 36 (+0%)
Mutual labels:  bot
Docker Jenkins Android
Jenkins docker image for Android development
Stars: ✭ 35 (-2.78%)
Mutual labels:  continuous-integration
Cimonitor
Displays CI statuses on a dashboard and triggers fun modules representing the status!
Stars: ✭ 34 (-5.56%)
Mutual labels:  continuous-integration

approve-ci

build status Heroku

Approve-ci monitors pull requests and checks for approval. Once the number of approvals exceeds the number of disapprovals by a set amount the pull request is marked as 'approved' and is ready to merge.

approve-ci in use

How To Use?

  • Go to
  • your project on GitHub > Settings > Webhooks & services > Add Webhook or
  • your organization on GitHub > Settings > Webhooks > Add Webhook
  • Payload URL: (https://approve-ci.herokuapp.com/)
  • Let me select individual events > Check repo
  • Add Webhook

And you are done. Next time a pull request is opened, you should see the pending status from approve-ci ;)

Configuration

The bot can be configured by adding a .approve-ci file to the base directory of the repo. Here's a list of the possible options:

{
  "name": "approve-ci",
  "approvalCount": 1,
  "approvalStrings": ["%F0%9F%91%8D", "👍", "👍"],
  "disapprovalStrings": ["%F0%9F%91%8E", "👎", "👎"],
  "approveString": "The pull request was approved",
  "rejectString": "The pull request needs more work",
  "pendingString": "Waiting for approval"
}

When using emojis you must URI encodeURI them (as shown above for 👍 and 👎).

Protected branches

GitHub allows you protect branches and to require specific tests to pass before pull requests can be merged. You can set this up by visiting https://github.com/USERNAME/REPO/settings/branches, selecting the branch you want to protect and then checking the approve-ci bot (the name is defined in the configuration file, see the next section), approval is needed before a request can be merged.

Protected branches

How To Contribute or Run Your Own Bot?

If you want to use a different account for the bot, change the message or extend it to provide additional functionality, we've tried to make it super easy:

git clone https://github.com/enkidevs/approve-ci.git
cd approve-ci
npm install
npm start
# Follow the instructions there

Alternatively you can deploy the bot using Heroku by pressing the button below:

Deploy

Or you can build and deploy on your servers using Docker:

docker build -t approve-ci .
docker run -d -p 80:3000 -e GITHUB_TOKEN=<YOUR_GITHUB_TOKEN_HERE> approve-ci

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].