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

27 lines
895 B
YAML

name: renovate
on:
schedule:
- cron: "0 */12 * * *"
push:
branches:
- main
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:37.320.1@sha256:f9b7546b46a9ef8a934f649ab0f2e119c2bc2f96e3411fd43ec1025f74eccdfc
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 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