From 66515fff0643c8283940759d3eafb10c6b789870 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Thu, 18 Apr 2024 15:06:04 +0200 Subject: [PATCH 1/3] Config validator --- .gitea/workflows/renovate.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index 2af822f..e9e4a21 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -20,3 +20,12 @@ 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 From a952712661ba13a28a0b71e5bfb8892b75f05242 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Thu, 18 Apr 2024 16:09:34 +0200 Subject: [PATCH 2/3] 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 From 954b589ef46361bc790569decf959acd915371c6 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Thu, 18 Apr 2024 16:09:43 +0200 Subject: [PATCH 3/3] Enable nix --- default.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/default.json b/default.json index bb7f092..870330e 100644 --- a/default.json +++ b/default.json @@ -1,5 +1,8 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>renovatebot/.github", ":dependencyDashboard"], - "prCreation": "immediate" + "prCreation": "immediate", + "nix": { + "enabled": false + } }