Skip to content

ci: add Dependabot auto-merge for patch updates - #42

Merged
etoyama merged 1 commit into
mainfrom
chore/dependabot-auto-merge
Mar 10, 2026
Merged

ci: add Dependabot auto-merge for patch updates#42
etoyama merged 1 commit into
mainfrom
chore/dependabot-auto-merge

Conversation

@etoyama

@etoyama etoyama commented Mar 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Dependabot の semver-patch PR を CI パス後に自動 approve + squash merge するワークフローを追加
  • リポジトリ設定の allow_auto_merge を有効化済み
  • minor / major バンプは引き続き手動レビュー

Changes

  • .github/workflows/dependabot-auto-merge.yml を新規追加
  • dependabot/fetch-metadata@v2 で update-type を判定し、patch のみ auto-merge

Test plan

  • Dependabot が次の月曜に patch PR を出したとき、自動マージされることを確認
  • minor/major バンプの PR は自動マージされないことを確認

🤖 Generated with Claude Code

Auto-approve and squash-merge Dependabot PRs when the update type
is semver-patch. Minor and major bumps still require manual review.
Also enables the repository auto-merge setting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@etoyama
etoyama merged commit 213aabb into main Mar 10, 2026
4 checks passed
@etoyama
etoyama deleted the chore/dependabot-auto-merge branch March 10, 2026 20:08
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