renovate/.gitea/workflows/renovate.yaml

44 lines
933 B
YAML

---
# generic
name: 'Renovate Bot'
on:
schedule:
- cron: '45 6-17 * * *'
push:
branches:
- 'main'
# jobs
jobs:
# renovate
Renovate:
runs-on: 'ubuntu-latest'
container: 'ghcr.io/renovatebot/renovate:38.58.0'
steps:
# checkout code
- name: 'Clone repo'
uses: 'actions/checkout@v4'
# run renovate
- name: 'Run Renovate'
run: 'renovate'
env:
# generic
LOG_LEVEL: 'info'
# renovate -> github
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
# renovate -> gitea
RENOVATE_USERNAME: 'renovate'
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_PLATFORM: 'gitea'
RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1'
RENOVATE_GIT_URL: 'endpoint'
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovate@simoncor.net>'
RENOVATE_AUTODISCOVER: true