From 75a7cd0e834bea35303715e297e509cd0fec260e Mon Sep 17 00:00:00 2001 From: Robert Sturla Date: Tue, 19 Dec 2023 23:15:01 +0000 Subject: [PATCH] Add simple workflow to validate Renovate configuration --- .github/workflows/renovate.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/renovate.yml 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