renovate-runner/.gitea/workflows/renovate.yaml
Renovate 53eed7bf00
Some checks failed
renovate / renovate (push) Has been cancelled
chore(deps): update https://data.forgejo.org/actions/cache action to v4.2.2
2025-03-12 19:37:32 +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@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
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@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: |
.tmp/cache/renovate/repository
.tmp/cache/renovate/renovate-cache-sqlite
.tmp/osv
key: repo-cache-${{ github.run_id }}