From 9aef11b0bad597d0153a3dd3ae6af1e592205095 Mon Sep 17 00:00:00 2001 From: jank Date: Wed, 12 Mar 2025 18:48:53 +0000 Subject: [PATCH] Update .gitea/workflows/renovate.yaml --- .gitea/workflows/renovate.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index 90678f1..0944048 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -12,9 +12,30 @@ jobs: container: ghcr.io/renovatebot/renovate:latest steps: - uses: https://git.kjan.de/actions/checkout@v4 + - name: Load renovate repo cache + uses: https://data.forgejo.org/actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + with: + path: | + .tmp/cache/renovate/repository + .tmp/cache/renovate/renovate-cache-sqlite + .tmp/osv + key: repo-cache-${{ github.run_id }} + restore-keys: | + repo-cache- - run: renovate env: + RENOVATE_BASE_DIR: ${{ github.workspace }}/.tmp + RENOVATE_REPOSITORY_CACHE: 'enabled' RENOVATE_CONFIG_FILE: "config.js" # replace it with your config.js path LOG_LEVEL: "debug" RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # your Revonate bot token GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }} + - name: Save renovate repo cache + if: always() && env.RENOVATE_DRY_RUN != 'full' + uses: https://data.forgejo.org/actions/cache/save@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + with: + path: | + .tmp/cache/renovate/repository + .tmp/cache/renovate/renovate-cache-sqlite + .tmp/osv + key: repo-cache-${{ github.run_id }}