mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
chore(ci): use renovate
This commit is contained in:
committed by
Łukasz Mierzwa
parent
3f552cc406
commit
809d9f0b47
62
.github/dependabot.yml
vendored
62
.github/dependabot.yml
vendored
@@ -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
|
||||
20
.github/workflows/renovate.yml
vendored
Normal file
20
.github/workflows/renovate.yml
vendored
Normal file
@@ -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 }}
|
||||
33
renovate.json
Normal file
33
renovate.json
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user