merge-dependabot-prs
v2.0.4
Published
Load Dependabot PRs from your notifications, merge the green ones and remove notifications
Downloads
9
Readme
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:
- Loads all your notifications
- Filters out notifications that look like PRs from Dependabot
- Makess sure that all checks ran and that the combined status is success
- Merges the pull request using the
rebase
merge method - Marks the notification as read
Related projects
- https://github.com/greenkeeper-keeper