This commit is contained in:
19
.gitea/workflows/renovate.yml
Normal file
19
.gitea/workflows/renovate.yml
Normal 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
17
config.js
Normal 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'
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user