renovate-config/.gitea/workflows/renovate.yaml

27 lines
889 B
YAML

name: renovate
on:
schedule:
- cron: "@daily"
push:
branches:
- main
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:37.284.0@sha256:9f7d4edb4826e74bcefeeff20f1b3c4f06ca5e5e688e3c8fddf48403af7ceebb
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- run: renovate
env:
RENOVATE_CONFIG_FILE: "${{ gitea.workspace }}/config.js"
# 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 }}
RENOVATE_AUTODISCOVER: "false"
RENOVATE_ENDPOINT: https://git.namesny.com/api/v1
RENOVATE_GIT_AUTHOR: Renovate Bot <bot@renovateapp.com>
RENOVATE_PLATFORM: gitea