43 lines
904 B
YAML
43 lines
904 B
YAML
|
---
|
||
|
|
||
|
# 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:latest'
|
||
|
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
|