Skip to content

ci: Set up Dependabot with auto-merge#3

Merged
polius merged 2 commits into
mainfrom
setup-dependabot
Jun 17, 2026
Merged

ci: Set up Dependabot with auto-merge#3
polius merged 2 commits into
mainfrom
setup-dependabot

Conversation

@polius

@polius polius commented Jun 17, 2026

Copy link
Copy Markdown
Owner

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)
    • Updates are grouped per ecosystem and labeled dependencies.
  • .github/workflows/dependabot-auto-merge.yml — auto-approves and enables squash auto-merge for Dependabot PRs.

Auto-merge policy

  • Patch + minor updates → auto-approved and merged.
  • Major updates → left open for manual review (not auto-merged).

Required repo settings (one-time)

Auto-merge only works once these are enabled:

  • Settings → General → Pull Requests → Allow auto-merge
  • Settings → Actions → General → Workflow permissions → Allow GitHub Actions to create and approve pull requests

Note

  • The Dockerfile uses the floating tag 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).
  • Python deps (api/requirements.txt) are not tracked here, and are unpinned anyway, so there's nothing for Dependabot to bump yet.

polius and others added 2 commits June 17, 2026 17:13
- 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>
@polius polius merged commit bdbd420 into main Jun 17, 2026
1 check passed
@polius polius deleted the setup-dependabot branch June 17, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant