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