Skip to content

chore(ci): improve Dependabot auto-merge + @dependabot comment#31

Merged
kaiiiichen merged 1 commit intomainfrom
chore/dependabot-automerge-comment
Apr 17, 2026
Merged

chore(ci): improve Dependabot auto-merge + @dependabot comment#31
kaiiiichen merged 1 commit intomainfrom
chore/dependabot-automerge-comment

Conversation

@kaiiiichen
Copy link
Copy Markdown
Owner

Summary

  • Run the workflow on opened, reopened, and synchronize so auto-merge is re-applied when Dependabot pushes new commits.
  • Add per-PR concurrency to avoid overlapping runs.
  • On open/reopen for semver patch/minor Dependabot PRs, post a single idempotent comment (hidden HTML marker) that includes the official @dependabot squash and merge line, alongside the existing gh pr merge --auto --squash step.

Why

  • gh pr merge --auto remains the reliable path when branch protection requires checks.
  • The PR comment documents intent and triggers Dependabot’s documented squash-merge command when checks go green (GitHub may ignore bot-authored comments for that command; the auto-merge step still applies).

Test plan

  • Merge this PR; next Dependabot patch/minor PR should get one automerge comment and auto-merge when CI + Vercel pass.

Made with Cursor

Trigger on opened/reopened/synchronize with concurrency per PR; keep
gh pr merge --auto --squash for patch/minor. On open/reopen, add an
idempotent PR comment (HTML marker) that includes the official
@dependabot squash and merge command so Dependabot and reviewers see the
same merge path as the workflow.

Made-with: Cursor
Co-authored-by: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kaichen.dev Ready Ready Preview, Comment Apr 17, 2026 0:40am

@kaiiiichen kaiiiichen merged commit 0e465ad into main Apr 17, 2026
4 checks passed
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