From a34c91137e67809be2ea233ac1f6197ed7182756 Mon Sep 17 00:00:00 2001 From: joe miller Date: Fri, 8 Nov 2024 22:42:12 +0000 Subject: [PATCH] configure renovate --- .github/workflows/validate-renovate.yml | 21 +++++++++++++++++++++ renovate.json5 | 16 ++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/validate-renovate.yml create mode 100644 renovate.json5 diff --git a/.github/workflows/validate-renovate.yml b/.github/workflows/validate-renovate.yml new file mode 100644 index 0000000..9f11927 --- /dev/null +++ b/.github/workflows/validate-renovate.yml @@ -0,0 +1,21 @@ +name: validate renovate.json + +on: + pull_request: + +env: + LOG_LEVEL: debug + +jobs: + renovate-config-validator: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 + with: + node-version: 20 + + - run: npx -p renovate renovate-config-validator renovate.json5 diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..d927d22 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,16 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "github>planetscale/renovate-config", + "github>planetscale/renovate-config:weeklyBatchMinorPatchDigest" + ], + "packageRules": [ + { + "description": "Don't pin static image, we do not want its weekly updates.", + "matchPackageNames": [ + "pscale.dev/wolfi-prod/static" + ], + "pinDigests": false + } + ] +}