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.392.0@sha256:4c9627f09f851e43b9580568ebf00b2a6381533acb051ee68d89c3506dd4dae9
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 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