From d76fa6a17759f68d12463fff031e52809b78e1f9 Mon Sep 17 00:00:00 2001 From: Andreas Noack Date: Fri, 13 Nov 2026 08:59:28 +0100 Subject: [PATCH] Replace CompatHelper with Dependabot for Julia compat updates Dependabot supports the `julia` package ecosystem, so use it to keep the `[compat]` entries up to date instead of the CompatHelper workflow. Updates are grouped into a single PR. Make `docs` a workspace member so that Dependabot resolves it together with the package and only needs the root directory. --- .github/dependabot.yml | 13 ++++++++++++ .github/workflows/CompatHelper.yml | 32 ------------------------------ Project.toml | 3 +++ 3 files changed, 16 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 700707ce..0a46b4fc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,20 @@ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates version: 2 updates: + # Maintain dependencies for GitHub Actions - package-ecosystem: "github-actions" directory: "/" # Location of package manifests schedule: interval: "weekly" + # Maintain compat entries of Julia dependencies (replaces CompatHelper). + # The `docs` project is part of the workspace defined in Project.toml and + # is therefore resolved together with the package. + - package-ecosystem: "julia" + directory: "/" + schedule: + interval: "daily" + groups: + # Group all Julia package updates into a single PR + all-julia-packages: + patterns: + - "*" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index d94b38df..00000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: 0 0 * * * - workflow_dispatch: -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: "Add the General registry via Git" - run: | - import Pkg - ENV["JULIA_PKG_SERVER"] = "" - Pkg.Registry.add("General") - shell: julia --color=yes {0} - - name: "Install CompatHelper" - run: | - import Pkg - name = "CompatHelper" - uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" - version = "3" - Pkg.add(; name, uuid, version) - shell: julia --color=yes {0} - - name: "Run CompatHelper" - run: | - import CompatHelper - CompatHelper.main() - shell: julia --color=yes {0} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} diff --git a/Project.toml b/Project.toml index 396b3f7f..65fee756 100644 --- a/Project.toml +++ b/Project.toml @@ -47,3 +47,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] test = ["Calculus", "DiffTests", "IrrationalConstants", "JET", "SparseArrays", "StaticArrays", "Test", "InteractiveUtils"] + +[workspace] +projects = ["docs"]