renovate/.gitea/workflows/renovate.yaml
Simon Cornet e061a45739
Some checks failed
Renovate Bot / renovate (push) Has been cancelled
[ci] feat: migrated to gitea actions workflow
2024-07-02 17:03:59 +02:00

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