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.
- You can create a configuration file,
scheduled-merge.yml
, under.github/
to change the recurrency of the merges. - Go to GitHub App - Probot-Scheduled-Merge.
- Click on install and choose repositories to run the bot on.
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) |
# 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.