This commit is contained in:
46
.gitea/workflows/renovate.yml
Normal file
46
.gitea/workflows/renovate.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
name: Renovate
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Run daily at 2 AM UTC
|
||||||
|
schedule:
|
||||||
|
- cron: '0 2 * * *'
|
||||||
|
|
||||||
|
# Allow manual trigger
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# Run on push to main branch (for testing config changes)
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
name: Run Renovate
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Use official Renovate container
|
||||||
|
container:
|
||||||
|
image: ghcr.io/renovatebot/renovate:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run Renovate
|
||||||
|
run: renovate
|
||||||
|
env:
|
||||||
|
# Path to config file in this repository
|
||||||
|
RENOVATE_CONFIG_FILE: /workspace/${{ gitea.repository }}/config.js
|
||||||
|
|
||||||
|
# Gitea token (from bot account)
|
||||||
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
||||||
|
# Optional: GitHub token for accessing GitHub releases
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
LOG_LEVEL: info
|
||||||
|
|
||||||
|
# Ensure we use the correct config
|
||||||
|
RENOVATE_REQUIRE_CONFIG: optional
|
||||||
Reference in New Issue
Block a user