diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index cd2e91f2f..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,62 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "docker" - directories: - - "/" - - "/demo" - - "/internal/mapper/v017" - schedule: - interval: "weekly" - groups: - debian: - patterns: - - "debian" - node: - patterns: - - "node" - go: - patterns: - - "golang" - - package-ecosystem: "gomod" - directories: - - "/" - - "/tools/benchstat" - - "/tools/gofumpt" - - "/tools/goimports" - - "/tools/golangci-lint" - schedule: - interval: "weekly" - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - - package-ecosystem: "npm" - directory: "/ui" - schedule: - interval: "weekly" - groups: - bootstrap: - patterns: - - "bootstrap" - - "bootswatch" - vite: - patterns: - - "vite" - - "vite-*" - - "@vitejs/*" - jest: - patterns: - - "jest" - - "jest-*" - - "*-jest" - - "*-jest-*" - testing-library: - patterns: - - "@testing-library/*" - eslint: - patterns: - - "eslint-*" - fontawesome: - patterns: - - "@fortawesome/*" - open-pull-requests-limit: 10 diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 000000000..10c0d1b5c --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,20 @@ +name: Renovate + +on: + workflow_dispatch: + schedule: + - cron: "0 12 * * 1" + +jobs: + renovate: + name: Renovate + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v6 + + - name: Run Renovate + uses: renovatebot/github-action@v42.0.2 + with: + configurationFile: renovate.json + token: ${{ secrets.GH_REPO_TOKEN }} diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..966c97399 --- /dev/null +++ b/renovate.json @@ -0,0 +1,33 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", "group:monorepos"], + "schedule": ["after 12pm on monday"], + "timezone": "UTC", + "automerge": false, + "platformAutomerge": false, + "packageRules": [ + { + "description": "Docker base images", + "matchDatasources": ["docker"], + "matchPackagePatterns": ["^debian$", "^node$", "^golang$"], + "groupName": "docker-base-images" + }, + { + "description": "Bootstrap packages", + "matchDatasources": ["npm"], + "matchPackagePatterns": ["^bootstrap$", "^bootswatch$"], + "groupName": "bootstrap" + }, + { + "description": "GitHub Actions", + "matchManagers": ["github-actions"], + "groupName": "github-actions" + }, + { + "description": "Go modules for tools", + "matchManagers": ["gomod"], + "matchFileNames": ["tools/**/go.mod"], + "groupName": "go-tools" + } + ] +}