2024-07-02 17:03:59 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
# generic
|
|
|
|
name: 'Renovate Bot'
|
|
|
|
on:
|
|
|
|
schedule:
|
2024-08-28 08:15:27 +02:00
|
|
|
- cron: '45 6-17 * * *'
|
2024-07-02 17:03:59 +02:00
|
|
|
push:
|
|
|
|
branches:
|
2024-07-25 09:31:57 +02:00
|
|
|
- 'main'
|
2024-07-02 17:03:59 +02:00
|
|
|
|
|
|
|
# jobs
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
# renovate
|
2024-07-02 17:05:11 +02:00
|
|
|
Renovate:
|
2024-07-02 17:03:59 +02:00
|
|
|
runs-on: 'ubuntu-latest'
|
2024-09-27 09:48:01 +02:00
|
|
|
container: 'ghcr.io/renovatebot/renovate:38.98.0'
|
2024-07-02 17:03:59 +02:00
|
|
|
steps:
|
|
|
|
|
|
|
|
# checkout code
|
|
|
|
- name: 'Clone repo'
|
2024-07-02 17:16:15 +02:00
|
|
|
uses: 'actions/checkout@v4'
|
2024-07-02 17:03:59 +02:00
|
|
|
|
|
|
|
# run renovate
|
2024-07-12 14:04:25 +02:00
|
|
|
- name: 'Run Renovate'
|
|
|
|
run: 'renovate'
|
2024-07-02 17:03:59 +02:00
|
|
|
env:
|
|
|
|
|
|
|
|
# generic
|
2024-07-12 15:57:37 +02:00
|
|
|
LOG_LEVEL: 'info'
|
2024-07-02 17:03:59 +02:00
|
|
|
|
|
|
|
# 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
|