-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Add Dependabot auto-merge workflow #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v0.x.x
Are you sure you want to change the base?
Conversation
155e353 to
f0ca2ac
Compare
llucax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs changes to work with protobuf/grpc updates.
Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
f0ca2ac to
40d9468
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces automated management of Dependabot pull requests through a new GitHub Actions workflow that approves and merges dependency updates automatically.
Key changes:
- Added a GitHub workflow that triggers on all pull requests from Dependabot
- Configured auto-approval and auto-merge for all dependency types using the
ad/dependabot-auto-approve@v1action
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| - uses: ad/dependabot-auto-approve@v1 | ||
| with: | ||
| dependency-type: 'all' |
Copilot
AI
Oct 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-merging all dependency types without validation could introduce breaking changes or security vulnerabilities. Consider restricting auto-merge to patch updates only, or implement additional checks (e.g., test suite passing) before merging.
| - uses: ad/dependabot-auto-approve@v1 | |
| with: | |
| dependency-type: 'all' | |
| - name: Run tests | |
| run: | | |
| npm ci | |
| npm test | |
| - uses: ad/dependabot-auto-approve@v1 | |
| with: | |
| dependency-type: 'production' | |
| update-type: 'version-update:semver-patch' |
This PR adds a GitHub workflow to automatically manage Dependabot pull requests.
This workflow uses the
ad/dependabot-auto-approve@v1GitHub Action, which may need to be explicitly whitelisted in the organization's settings.