feat: Integrated Renovate Bot as gh action (#9)

This commit was merged in pull request #9.
This commit is contained in:
Cromatin
2025-09-21 17:08:16 +02:00
committed by GitHub
3 changed files with 49 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
set -e
echo "=== Starting Renovate Bot ==="
apt update
apt install -y build-essential libpq-dev
runuser -u ubuntu renovate --platform=github
echo "=== Renovate Bot finished ==="
+24
View File
@@ -0,0 +1,24 @@
name: Renovate
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * 1'
permissions:
contents: read
pull-requests: write
jobs:
renovate:
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run Self-Hosted Renovate
uses: renovatebot/github-action@v43.0.12
with:
docker-cmd-file: .github/renovate-entrypoint.sh
docker-user: root
token: ${{ secrets.GITHUB_TOKEN }}
+14
View File
@@ -0,0 +1,14 @@
{
"extends": ["config:base"],
"labels": ["dependencies", "renovate"],
"packageRules": [
{
"managers": ["pip_requirements"],
"updateTypes": ["minor", "patch"],
"automerge": false,
"groupName": "Python dependencies"
}
],
"prConcurrentLimit": 5,
"prHourlyLimit": 2
}