scheduler

merge scheduled PR

agba-merger

A GitHub bot that helps you publish any feature in your project or article in your developer blog, on a scheduled date/day

agba merger

Usage

To use this bot, you’ll have to install it from GitHub’s Marketplace. Make sure you give it access to the scopes it is requesting for.

When you have a pull request that you want to schedule with the help of the bot, simply call its attention to that PR by typing the following in the PR’s comment:

"Yo! **@agba-merger**, please **merge** this pull request on **2023-01-22**"

You can choose to construct this sentence in any manner that seems appropriate to you. The keywords you shouldn’t leave out are the name of the bot @agba-merger, the merge, and your date in “YYYY-MM-DD format.

⚠️ the bot isn’t completely stable yet. So when you schedule a merge request and you find out that the pull request was not merged, that’s on me kindly give me time to provide a fix.

Nevertheless, if you think you have straightforward approach to fix this, please feel free to submit a PR.

Setup

# Install dependencies
npm install

# Run the bot
npm start

Docker

# 1. Build container
docker build -t agba-merger .

# 2. Start container
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> agba-merger

Contributing

If you have suggestions for how agba-merger could be improved, or want to report a bug, open an issue! We’d love all and any contributions.

For more, check out the Contributing Guide.

License

MIT © 2023 kaf-lamed-beyt

Visit original content creator repository https://github.com/kaf-lamed-beyt/scheduler

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *