From 9a37f31841205f9861c6a95055196be17a27a847 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Wed, 13 Aug 2025 12:55:51 +0500 Subject: [PATCH] chore(renovate): use config from remote repo Signed-off-by: Boris Yumankulov --- .gitea/workflows/renovate.yml | 12 ++++++++++-- config.js | 8 -------- 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 config.js diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml index acf0b92..06aa803 100644 --- a/.gitea/workflows/renovate.yml +++ b/.gitea/workflows/renovate.yml @@ -11,8 +11,16 @@ jobs: container: ghcr.io/renovatebot/renovate:latest steps: - uses: https://gitea.com/actions/checkout@v4 - - run: renovate + + - name: Download external renovate config + run: | + mkdir -p /tmp/renovate-config + curl -fsSL "https://git.linux-gaming.ru/Linux-Gaming/renovate-config/raw/branch/main/config.js" \ + -o /tmp/renovate-config/config.js + + - name: Run Renovate + run: renovate env: - RENOVATE_CONFIG_FILE: "/workspace/Boria138/PortProtonQt/config.js" + RENOVATE_CONFIG_FILE: "/tmp/renovate-config/config.js" LOG_LEVEL: "debug" RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} diff --git a/config.js b/config.js deleted file mode 100644 index 152703b..0000000 --- a/config.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - "endpoint": "https://git.linux-gaming.ru/api/v1", - "gitAuthor": "Renovate Bot ", - "platform": "gitea", - "onboardingConfigFileName": "renovate.json", - "autodiscover": true, - "optimizeForDisabled": true, -};