renovate/.gitea/workflows/renovate.yaml

43 lines
906 B
YAML
Raw Normal View History

---
# generic
name: 'Renovate Bot'
on:
schedule:
- cron: "0 45 6 * * *"
push:
branches:
- 'master'
# jobs
jobs:
# renovate
Renovate:
runs-on: 'ubuntu-latest'
container: 'ghcr.io/renovatebot/renovate:37.421.0'
steps:
# checkout code
- name: 'Clone repo'
uses: 'actions/checkout@v2'
# 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