workflow
All checks were successful
Renovate / Run Renovate (push) Successful in 21s

This commit is contained in:
2025-11-06 13:20:41 +07:00
parent cdf1e06436
commit d86315bca6
2 changed files with 46 additions and 0 deletions

View File

View 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