From f522518765b9f43a00d32a2e3300b50e629cbc67 Mon Sep 17 00:00:00 2001 From: Mikhail Kotelnikov Date: Tue, 6 Oct 2026 18:11:33 +0200 Subject: [PATCH] ci: Dependabot for dependency updates; releases are local - .github/dependabot.yml: weekly npm (pnpm catalogs included) and GitHub Actions updates, grouped (@statewalker packages; third-party minor/patch), versions at least 3 days old, ranges rewritten only when a version falls outside them. Pull requests are checked by CI and merged by hand. - renovate.json removed. - ci.yml: the release job is removed; packages are published from a local release script (version, publish with npm 2FA, verify, promote). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DAiZN6XrTAdQpNN3eXEz2U --- .github/dependabot.yml | 35 +++++++++++++++++++++++++++++++++++ .github/workflows/ci.yml | 12 ------------ renovate.json | 4 ---- 3 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..a7b7e636 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,35 @@ +# Dependabot version updates: weekly pull requests, checked by CI and merged by hand. +version: 2 +updates: + # Dependencies, pnpm catalogs included. A version that still fits its range only moves the + # lockfile; one outside it (a major, or a minor below 1.0) rewrites the range. + - package-ecosystem: npm + directory: "/" + schedule: + interval: weekly + day: monday + time: "06:00" + timezone: Europe/Paris + versioning-strategy: increase-if-necessary + cooldown: + default-days: 3 + open-pull-requests-limit: 10 + groups: + # Internal packages are normally updated by the local release script right after a + # release; this group catches whatever it missed. + statewalker: + patterns: ["@statewalker/*"] + external-minor-patch: + patterns: ["*"] + exclude-patterns: ["@statewalker/*"] + update-types: [minor, patch] + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + day: monday + time: "06:00" + timezone: Europe/Paris + groups: + actions: + patterns: ["*"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 924c68fe..5a3c950e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,15 +8,3 @@ on: jobs: ci: uses: statewalker/.github/.github/workflows/ci.yml@main - - # Releases to npm: a version pull request while changes are unreleased, publishing once it is - # merged. npm's trusted publishers for these packages name this file (ci.yml). - release: - needs: ci - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: statewalker/.github/.github/workflows/release.yml@main - permissions: - contents: write - pull-requests: write - id-token: write - secrets: inherit diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 247bee94..00000000 --- a/renovate.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>statewalker/.github"] -}