From a952712661ba13a28a0b71e5bfb8892b75f05242 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Thu, 18 Apr 2024 16:09:34 +0200 Subject: [PATCH] Add config check --- .gitea/workflows/renovate-config-check.yaml | 14 ++++++++++++++ .gitea/workflows/renovate.yaml | 9 --------- 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .gitea/workflows/renovate-config-check.yaml diff --git a/.gitea/workflows/renovate-config-check.yaml b/.gitea/workflows/renovate-config-check.yaml new file mode 100644 index 0000000..4760413 --- /dev/null +++ b/.gitea/workflows/renovate-config-check.yaml @@ -0,0 +1,14 @@ +name: renovate config check + +on: + pull_request: + +jobs: + renovate-config-validator: + runs-on: ubuntu-latest + container: ghcr.io/renovatebot/renovate:37.305.0 + steps: + - name: Checkout sources + uses: https://gitea.com/actions/checkout@v4 + - name: Config check + run: renovate-config-validator $RENOVATE_CONFIG_VALIDATOR_EXTRA_FLAGS diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index e9e4a21..2af822f 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -20,12 +20,3 @@ jobs: GITHUB_COM_TOKEN: ${{ secrets.GH_COM_TOKEN }} RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} RENOVATE_ONBOARDING_CONFIG: '{"$$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"] }' - - renovate-config-validator: - runs-on: ubuntu-latest - container: ghcr.io/renovatebot/renovate:37.305.0 - steps: - - name: Checkout sources - uses: https://gitea.com/actions/checkout@v4 - - name: Config check - run: renovate-config-validator $RENOVATE_CONFIG_VALIDATOR_EXTRA_FLAGS