From 0af4b447b254941ce2244f4b772fc1c8d17d5db9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 27 Aug 2026 17:17:41 +0200 Subject: [PATCH] chore: adopt shared Renovate preset and gate PRs on lint Point renovate.json at the org-wide shared preset in EduIDE/.github and retire Dependabot so only one bot opens dependency PRs for this repo. Note: .github/dependabot.yml was valid and was only activated a day ago in #186, so this is a deliberate swap, not a cleanup of dead config. If we would rather keep Dependabot here, drop that deletion from this PR. Also narrow the Build workflow to pull requests against main, matching every other workflow in the org, and run npm run lint in it. Lint was already clean on main (0 errors, 30 naming-convention warnings). fmt:check is not wired up: oxfmt --check already fails on main for auto-assign.yml, codeql.yml and package.json, and fixing that is a separate change. There is no test script to run - #183 stripped the test suite, the webview and @vscode/test-web out of this repo. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01QLGHEpzx7D9NYHx4fCmHa9 --- .github/dependabot.yml | 20 -------------------- .github/workflows/build.yml | 5 +++++ renovate.json | 2 +- 3 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 0b225c5e..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,20 +0,0 @@ -# The ecosystem was left as the template's empty string, which makes the whole -# file inert - Dependabot parses it, matches nothing, and reports nothing. This -# repo is TypeScript with a package.json at the root, and it also pins GitHub -# Actions across five workflows. - -version: 2 -updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "weekly" - groups: - # One PR a week for the routine bumps rather than one per package. - npm-minor-and-patch: - update-types: ["minor", "patch"] - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dfd67091..fc4cfc0e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,8 @@ name: Build on: pull_request: + branches: + - main permissions: contents: read @@ -26,5 +28,8 @@ jobs: - name: Install Dependencies run: npm run install:all + - name: Lint + run: npm run lint + - name: Build Project run: npm run build diff --git a/renovate.json b/renovate.json index 22a99432..937744e0 100644 --- a/renovate.json +++ b/renovate.json @@ -1,4 +1,4 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"] + "extends": ["local>EduIDE/.github:renovate-config"] }