Skip to content

ci(dependabot): target the next branch instead of main#138

Open
ouun wants to merge 1 commit into
mainfrom
ci/dependabot-target-next
Open

ci(dependabot): target the next branch instead of main#138
ouun wants to merge 1 commit into
mainfrom
ci/dependabot-target-next

Conversation

@ouun

@ouun ouun commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

What

Add target-branch: "next" to all three Dependabot ecosystems (composer, npm, github-actions) so dependency PRs are opened against next instead of the default branch main.

Why this must live on main

Dependabot reads .github/dependabot.yml only from the default branch (main); the target-branch field then redirects where PRs are raised. So the companion commit on next (41b6033) has no effect on its own — this PR is what actually activates the behavior.

Motivation

MilliCache develops on next and releases to main via release-please. Dependabot defaulting to main meant bumps landed ahead of the dev branch and ran main's (often-lagging) workflow — e.g. the create-github-app-token client-id migration sat on next for weeks while Dependabot PRs against main kept failing the Build Assets check (#136). Targeting next keeps bumps on the branch that's always current.

🤖 Generated with Claude Code

MilliCache develops on `next` and releases to `main` via release-please,
but Dependabot defaulted to the default branch (main). That meant version
bumps landed on `main` ahead of the dev branch, and bumps relied on main's
workflow — which lagged `next` (e.g. the create-github-app-token client-id
migration sat on `next` for weeks while Dependabot PRs against main kept
failing the Build Assets check).

Point all three ecosystems (composer, npm, github-actions) at `next` so
bumps flow through the normal dev branch and run the current workflow.

(cherry picked from commit 41b6033)
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