chore: Initial attempt at Renovate workflow

This commit is contained in:
2025-08-22 20:14:54 +10:00
parent 422b72fe11
commit 9d04681c43
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,24 @@
name: renovate
on:
workflow_dispatch: # allows the workflow to be run manually when desired
branches:
- main
schedule: # runs this workflow at the scheduled time (uses UTC, adjust for your timezone)
- cron: "0 12 * * *"
push: # runs this workflow when pushes to the main branch are made
branches:
- master
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:latest
steps:
- uses: actions/checkout@v4
- run: renovate
env:
RENOVATE_CONFIG_FILE: ${{ gitea.workspace }}/config.js
LOG_LEVEL: "debug"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }} # optional