merge-dependency-update-prs
v3.1.5
Published
Load Dependabot & Renovate PRs from your notifications, merge the green ones and remove notifications
Downloads
17
Readme
merge-dependency-update-prs
Load Dependabot & Renovate PRs from your notifications, merge the green ones and remove notifications
Usage
GITHUB_TOKEN=... npx merge-dependency-update-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 or Renovate
- Makess sure that all checks ran and that the combined status is success
- Merges the pull request using the
squash
merge method - Marks the notification as read