diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..b41fd4a --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,13 @@ +{ + "extends": ["config:recommended"], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [".*\\.spec"], + "matchStrings": [ + "#\\s?renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( extractVersion=(?.*?))?\\s*Version:\\s*(?.*)\\s" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } + ] +} diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000..d8b6dd3 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,25 @@ +name: Validate Renovate + +on: + pull_request: + paths: + - "**/renovate.json" + - "**/renovate.json5" + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: latest + + - name: Install dependencies + run: npm install -g renovate + + - name: Validate Renovate config + run: renovate-config-validator --strict diff --git a/staging/devpod/devpod.spec b/staging/devpod/devpod.spec index d57ef6c..96af41d 100644 --- a/staging/devpod/devpod.spec +++ b/staging/devpod/devpod.spec @@ -1,4 +1,5 @@ Name: devpod +# renovate: datasource=github-releases depName=loft-sh/devpod Version: v0.4.2 Release: 1%{?dist} Summary: Codespaces but open-source, client-only and unopinionated.