merge-dependabot-prs

2.0.4 • Public • Published

merge-dependabot-prs

Load Dependabot PRs from your notifications, merge the green ones and remove notifications

Usage

GITHUB_TOKEN=... npx merge-dependabot-prs

How it works

The code is commented, I hope it's self-explanatory. Please feel free to create an issue if something is not clear.

In a nutshell:

  1. Loads all your notifications
  2. Filters out notifications that look like PRs from Dependabot
  3. Makess sure that all checks ran and that the combined status is success
  4. Merges the pull request using the rebase merge method
  5. Marks the notification as read

Related projects

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i merge-dependabot-prs

Weekly Downloads

6

Version

2.0.4

License

MIT

Unpacked Size

10.1 kB

Total Files

5

Last publish

Collaborators

  • gr2m