https://github.com/gr2m/merge-dependency-update-prs
Load Dependbapot PRs from your notifications, merge the green ones and remove notifications
https://github.com/gr2m/merge-dependency-update-prs
Last synced: 3 months ago
JSON representation
Load Dependbapot PRs from your notifications, merge the green ones and remove notifications
- Host: GitHub
- URL: https://github.com/gr2m/merge-dependency-update-prs
- Owner: gr2m
- License: isc
- Created: 2020-01-30T19:54:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-03-21T21:36:40.000Z (4 months ago)
- Last Synced: 2026-03-22T09:55:58.981Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.15 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
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:
1. Loads all your notifications
2. Filters out notifications that look like PRs from Dependabot or Renovate
3. Makess sure that all checks ran and that the combined status is success
4. Merges the pull request using the `squash` merge method
5. Marks the notification as read
### License
[ISC](LICENSE)