renovate-runner/.gitea/workflows/renovate.yaml
jank 9aef11b0ba
All checks were successful
renovate / renovate (push) Successful in 13m14s
Update .gitea/workflows/renovate.yaml
2025-03-12 18:48:53 +00:00

41 lines
1.4 KiB
YAML

name: renovate
on:
workflow_dispatch:
schedule:
- cron: "@hourly"
push:
jobs:
renovate:
runs-on: ubuntu-latest
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 }}