PelicanMaster / probot-scheduled-merge

Merge your pull requests at a scheduled time πŸ“†

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Probot Scheduled Merge

A GitHub App built with Probot that merge your pull requests at a scheduled time.

This application will run on a scheduled time to merge the most upvoted (using GitHub' reactions πŸ‘ and πŸ‘Ž) pull request, others PR will be closed, and all +1/-1 reactions removed. If there is just one PR, it will be merged no matter what.

Installation

  1. You can create a configuration file, scheduled-merge.yml, under .github/ to change the recurrency of the merges.
  2. Go to GitHub App - Probot-Scheduled-Merge.
  3. Click on install and choose repositories to run the bot on.

Configuration

You can create a configuration file as follow :

./github/scheduled-merge.yml
Option Format Default Description
cron String '* * * * * 7' Define recurrency using the crontab format (see node-schedule for details)

Contributing

# Clone the repo
git clone https://github.com/PelicanMaster/probot-scheduled-merge.git

# Change directory
cd probot-scheduled-merge

# Install dependencies
npm install

# Run the bot
npm start

Check out the contributing guide.

License

ISC

About

Merge your pull requests at a scheduled time πŸ“†

License:ISC License


Languages

Language:JavaScript 100.0%