Skip to content

ci: add dependabot auto-merge workflow + expand ecosystem coverage#10

Merged
ncipollina merged 3 commits into
mainfrom
ci/dependabot-auto-merge
Jul 21, 2026
Merged

ci: add dependabot auto-merge workflow + expand ecosystem coverage#10
ncipollina merged 3 commits into
mainfrom
ci/dependabot-auto-merge

Conversation

@ncipollina

Copy link
Copy Markdown
Contributor

Summary

  • Adds dependabot-auto-merge.yml: auto-approves + auto-merges (squash) dependabot PRs for patch/minor updates; major updates stay manual
  • Expands dependabot.yml with dotnet-sdk, github-actions, and uv (docsite/) ecosystems, grouped under an infrastructure multi-ecosystem-group to bundle into a single PR
  • Mirrors the setup from dynamodb-efcore-provider (unverified there too, so worth watching after merge)

Depends on org-wide "Allow auto-merge" being enabled — see LayeredCraft/.github#2.

Test plan

🤖 Generated with Claude Code

Auto-approve and auto-merge patch/minor dependabot PRs (major stays
manual). Also add dotnet-sdk, github-actions, and uv ecosystems
(grouped under an infrastructure multi-ecosystem-group) alongside the
existing nuget config, mirroring dynamodb-efcore-provider.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the type: ci CI/CD changes label Jul 21, 2026
Comment thread .github/workflows/dependabot-auto-merge.yml
Auto-merge only waits on branch-protection required checks (just
build/build here), so a docsite-only uv bump or github-actions bump
could merge while its own path-triggered check was still pending or
red. Add an explicit gh pr checks --watch --fail-fast step so the
workflow itself waits on every check before enabling auto-merge.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Comment thread .github/workflows/dependabot-auto-merge.yml Outdated
The gate protected against a docs-site or workflow-syntax bump
merging while its own path-triggered check was still pending or red
— but that's low-stakes and cheap to fix after the fact (docs site
re-deploy, one-line revert), not an app-code risk. Real app code
(nuget, dotnet-sdk) is already covered by the required build/build
branch-protection check, which auto-merge already waits on. The
poll-for-all-checks approach also had a self-deadlock bug (this
workflow's own still-running check would never resolve). Keeping this
repo's automation light per code-of-conduct.md outweighs closing a
low-blast-radius gap with meaningfully more complexity.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ncipollina
ncipollina merged commit 4fa04b9 into main Jul 21, 2026
4 checks passed
@ncipollina
ncipollina deleted the ci/dependabot-auto-merge branch July 21, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: ci CI/CD changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant