diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8c89b28..99be1c0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,23 +1,26 @@ +# +# Switches js-sdk from routine version updates to SECURITY UPDATES ONLY, with a 7-day +# cooldown — matching the vite-plugin / apper templates policy. (The previous config chased +# every version bump with no cooldown, which created 11 non-security PRs.) +# +# open-pull-requests-limit: 0 turns off scheduled version bumps (no "chase latest" churn, no +# major upgrades). Dependabot *security* updates ignore this limit and still flow — they need +# Dependabot alerts enabled in repo Settings > Security. cooldown + groups are inert while +# version updates are off, kept forward-compatible for if limit: 0 is ever dropped +# (cooldown = 7-day supply-chain buffer; groups batch minor/patch). version: 2 updates: - # Keep package.json dependencies patched. Combined with GitHub's - # Dependabot security updates (enabled in repo Settings > Security), - # this opens PRs for both routine version bumps and CVE fixes. - package-ecosystem: "npm" directory: "/" schedule: - interval: "weekly" - open-pull-requests-limit: 10 + interval: "daily" + cooldown: + default-days: 7 + open-pull-requests-limit: 0 + labels: + - "dependencies" + commit-message: + prefix: "chore(deps)" groups: - # Batch low-risk dev tooling updates into a single PR to cut noise. - dev-dependencies: - dependency-type: "development" - update-types: - - "minor" - - "patch" - - # Keep the GitHub Actions used by these workflows up to date. - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" + npm-minor-patch: + update-types: ["minor", "patch"]