From c3983a7eb1af754d246801f2d27e3de42b8fa117 Mon Sep 17 00:00:00 2001 From: Lee Date: Thu, 1 Feb 2024 02:01:10 +0000 Subject: [PATCH] Update .gitea/workflows/renovate.yml --- .gitea/workflows/renovate.yml | 77 +++++++++++++++++------------------ 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml index ef4a1b3..1380c1a 100644 --- a/.gitea/workflows/renovate.yml +++ b/.gitea/workflows/renovate.yml @@ -1,39 +1,38 @@ -name: renovate - -on: - schedule: - - cron: "@hourly" - push: - branches: - - master - -jobs: - renovate: - runs-on: ubuntu-22.04 - container: ghcr.io/renovatebot/renovate:37.140.12 - steps: - - uses: actions/checkout@v4 - - - name: Restore Renovate Cache - id: cache-renovate - uses: actions/cache/restore@v4 - with: - path: /tmp/renovate/cache - key: ${{ runner.os }}-renovate-cache - - - name: Renovate - run: renovate - env: - #LOG_LEVEL: "debug" - RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs - RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} - GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }} - HUB_DOCKER_COM_USER: ${{ secrets.HUB_DOCKER_COM_USER }} - HUB_DOCKER_COM_TOKEN: ${{ secrets.HUB_DOCKER_COM_TOKEN }} - - - name: Save Renovate Cache - id: cache-renovate - uses: actions/cache/save@v4 - with: - path: /tmp/renovate/cache - key: ${{ runner.os }}-renovate-cache +name: renovate + +on: + schedule: + - cron: "@hourly" + push: + branches: + - master + +jobs: + renovate: + runs-on: ubuntu-22.04 + container: ghcr.io/renovatebot/renovate:37.140.12 + steps: + - uses: actions/checkout@v4 + + - name: Restore Renovate Cache + id: cache-renovate + uses: actions/cache/restore@v4 + with: + path: /tmp/renovate/cache + key: ${{ runner.os }}-renovate-cache + + - name: Renovate + run: renovate + env: + RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }} + HUB_DOCKER_COM_USER: ${{ secrets.HUB_DOCKER_COM_USER }} + HUB_DOCKER_COM_TOKEN: ${{ secrets.HUB_DOCKER_COM_TOKEN }} + + - name: Save Renovate Cache + id: cache-renovate + uses: actions/cache/save@v4 + with: + path: /tmp/renovate/cache + key: ${{ runner.os }}-renovate-cache