ci(renovate): add config validation job (#4303)

This commit is contained in:
Meier Lukas
2025-10-20 19:18:22 +02:00
committed by GitHub
parent e1b4186aa2
commit ed5127de64
2 changed files with 20 additions and 2 deletions

View File

@@ -3,12 +3,12 @@
extends: ["config:recommended"],
packageRules: [
{
matchPackagePatterns: ["^@homarr/"],
matchPackageNames: ["^@homarr/"],
enabled: false,
},
// Reenable once https://github.com/privatenumber/tsx/issues/737 is fixed
{
matchPackagePatterns: ["tsx"],
matchPackageNames: ["tsx"],
enabled: false,
},
{

View File

@@ -0,0 +1,18 @@
name: "[Renovate] Validate configuration"
permissions:
contents: read
on:
pull_request:
branches: ["*"]
paths: [".github/renovate.json5"]
jobs:
renovate-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: |
npx --yes --package renovate -- \
renovate-config-validator --strict .github/renovate.json5