Skip to content

Add Dependabot auto-merge workflow#680

Merged
gijzelaerr merged 1 commit into
masterfrom
dependabot-auto-merge
Apr 15, 2026
Merged

Add Dependabot auto-merge workflow#680
gijzelaerr merged 1 commit into
masterfrom
dependabot-auto-merge

Conversation

@gijzelaerr
Copy link
Copy Markdown
Owner

Summary

Adds a GitHub Actions workflow that automatically enables squash-merge on Dependabot PRs once all CI checks pass. This uses GitHub's native auto-merge feature, so branch protection rules are still respected — the PR only merges after all required checks are green.

No more manual merging of dependency bumps.

How it works

  1. Dependabot opens a PR
  2. This workflow runs and calls gh pr merge --auto --squash
  3. GitHub waits for all required status checks to pass
  4. PR is automatically squash-merged

Note: This requires "Allow auto-merge" to be enabled in the repository settings (Settings > General > Pull Requests > Allow auto-merge).

🤖 Generated with Claude Code

Automatically squash-merges Dependabot PRs once all CI checks pass.
Uses GitHub's native auto-merge feature so branch protection rules
are still respected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gijzelaerr gijzelaerr merged commit cf3d889 into master Apr 15, 2026
39 checks passed
@gijzelaerr gijzelaerr added this to the 4.0 milestone Apr 15, 2026
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