ci: Set up Dependabot with auto-merge#3
Merged
Merged
Conversation
- dependabot.yml: weekly github-actions + docker update checks (grouped, labeled "dependencies"). - dependabot-auto-merge workflow: auto-approve and enable squash auto-merge for all Dependabot PRs, including majors. Mirrors the setup used in the Vault project. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Major updates are left open for manual review; only patch and minor updates are auto-approved and merged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds automated dependency updates, based on the Vault project's setup.
What's added
.github/dependabot.yml— weekly update checks for:github-actions(keeps the release workflow's actions current)docker(the nginx base image)dependencies..github/workflows/dependabot-auto-merge.yml— auto-approves and enables squash auto-merge for Dependabot PRs.Auto-merge policy
Required repo settings (one-time)
Auto-merge only works once these are enabled:
Note
nginx:alpine. Dependabot can only bump a pinned tag, so the docker ecosystem stays idle until it's pinned (e.g.nginx:1.27-alpine).api/requirements.txt) are not tracked here, and are unpinned anyway, so there's nothing for Dependabot to bump yet.