From dbdb287651030c9eaf6c081b03f7816f174eff97 Mon Sep 17 00:00:00 2001 From: J3vb <192430104+J3vb@users.noreply.github.com> Date: Fri, 28 Aug 2026 07:36:05 +0200 Subject: [PATCH] chore(deps): point Dependabot at dev instead of the default branch (#1430) Every block omitted `target-branch`, so Dependabot defaulted to `main` and opened all seven ecosystems against the release branch. That contradicts the branch model in CLAUDE.md and docs/contributing.md, where `dev` is the integration branch and the only branch that takes PRs. Retargeting by hand does not hold: `@dependabot rebase` recreates the PR against the *configured* target, silently reverting the base back to `main`. The config is the only durable place to fix it. Co-authored-by: Claude Opus 5 (1M context) --- .github/dependabot.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a9cc122e..a17ccb28 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -22,10 +22,16 @@ version: 2 # reason — see docs/contributing.md#dependency-policy for the measured decision # against adopting npm workspaces. +# Every block targets `dev`, not the default branch. `dev` is the integration +# branch and the only branch that takes PRs; `main` carries releases. Without +# this, Dependabot opens against `main`, and retargeting by hand does not stick +# — `@dependabot rebase` recreates the PR against the configured target. + updates: # Go server dependencies - package-ecosystem: gomod directory: /Server + target-branch: dev schedule: interval: weekly day: monday @@ -49,6 +55,7 @@ updates: # together — not a standalone merge. - package-ecosystem: docker directory: /Server + target-branch: dev schedule: interval: weekly day: monday @@ -69,6 +76,7 @@ updates: # Tauri client npm dependencies - package-ecosystem: npm directory: /Client + target-branch: dev schedule: interval: weekly day: monday @@ -89,6 +97,7 @@ updates: # Root tooling npm dependencies (changelogen, prettier) - package-ecosystem: npm directory: / + target-branch: dev schedule: interval: weekly day: monday @@ -109,6 +118,7 @@ updates: # tools/mcp-introspect npm dependencies (local dev MCP server) - package-ecosystem: npm directory: /tools/mcp-introspect + target-branch: dev schedule: interval: weekly day: monday @@ -129,6 +139,7 @@ updates: # Tauri Rust/Cargo dependencies - package-ecosystem: cargo directory: /Client/src-tauri + target-branch: dev schedule: interval: weekly day: monday @@ -161,6 +172,7 @@ updates: # GitHub Actions - package-ecosystem: github-actions directory: / + target-branch: dev schedule: interval: weekly day: monday