Set up self-hosted Renovate for automated dependency updates
Renovate / Renovate dependency updates (push) Failing after 58s
Renovate / Renovate dependency updates (push) Failing after 58s
Renovate runs weekly (Monday 4am) and scans all LotusGuild repos for outdated dependencies, creating PRs for updates. Patch and devDeps updates are configured to automerge. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
name: Renovate dependency updates
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Run Renovate
|
||||
env:
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||
LOG_LEVEL: info
|
||||
run: |
|
||||
npm install -g renovate
|
||||
renovate \
|
||||
--platform gitea \
|
||||
--endpoint https://code.lotusguild.org \
|
||||
--token "$RENOVATE_TOKEN" \
|
||||
--config-file renovate.json
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"platform": "gitea",
|
||||
"endpoint": "https://code.lotusguild.org",
|
||||
"repositories": [
|
||||
"LotusGuild/pulse",
|
||||
"LotusGuild/gandalf",
|
||||
"LotusGuild/heist-crew",
|
||||
"LotusGuild/hwmonDaemon",
|
||||
"LotusGuild/analyzeOSDs",
|
||||
"LotusGuild/tinker_tickets"
|
||||
],
|
||||
"onboarding": false,
|
||||
"requireConfig": "optional",
|
||||
"automerge": false,
|
||||
"labels": ["dependencies"],
|
||||
"prHourlyLimit": 5,
|
||||
"prConcurrentLimit": 10,
|
||||
"schedule": ["before 6am on Monday"],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDepTypes": ["devDependencies"],
|
||||
"automerge": true,
|
||||
"automergeType": "pr",
|
||||
"automergeStrategy": "squash"
|
||||
},
|
||||
{
|
||||
"matchUpdateTypes": ["patch"],
|
||||
"automerge": true,
|
||||
"automergeType": "pr",
|
||||
"automergeStrategy": "squash"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user