Add .gitea/workflows/renovate.yml

This commit is contained in:
Lee 2023-10-15 01:11:50 +00:00
commit 6e728f4086

View File

@ -0,0 +1,24 @@
name: renovate
on:
schedule:
- cron: "@daily"
push:
branches:
- main
jobs:
renovate:
runs-on: ubuntu-22.04
container: ghcr.io/renovatebot/renovate:latest
steps:
- uses: actions/checkout@v4
- run: renovate
env:
RENOVATE_CONFIG_FILE: "/workspace/gitea/renovate-config/config.js"
LOG_LEVEL: "debug"
RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
#GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
HUB_DOCKER_COM_USER: ${{ secrets.HUB_DOCKER_COM_USER }}
HUB_DOCKER_COM_TOKEN: ${{ secrets.HUB_DOCKER_COM_TOKEN }}