feat: init
All checks were successful
renovate / renovate (push) Successful in 1m15s

This commit is contained in:
2026-01-31 08:46:09 +08:00
parent 8ea4b8f40d
commit ad7b9f318f
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
name: renovate
on:
workflow_dispatch:
schedule:
- cron: "0 */4 * * *" # every 4 hours
push:
branches:
- main
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:latest
steps:
- uses: actions/checkout@v6
- run: renovate
env:
RENOVATE_CONFIG_FILE: "/workspace/renovate-bot/renovate-runner/config.js"
LOG_LEVEL: "debug"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}

17
config.js Normal file
View File

@@ -0,0 +1,17 @@
module.exports = {
platform: 'gitea',
endpoint: 'https://git.haozi.net/api/v1',
gitAuthor: 'gitea-actions <teabot@gitea.io>',
autodiscover: true,
onboarding: false,
optimizeForDisabled: true,
prHourlyLimit: 0,
automerge: true,
major: {
automerge: false,
},
automergeType: 'pr',
automergeStrategy: 'squash',
githubTokenWarn: false,
semanticCommits: 'enabled'
}