Add Renovate configuration for dependency updates

This commit is contained in:
Graham McIntire 2026-02-20 13:02:41 -06:00
parent ca05b497b9
commit 34599d404c
No known key found for this signature in database
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,25 @@
name: Renovate
on:
schedule:
# Run daily at 6:00 AM UTC
- cron: '0 6 * * *'
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Run Renovate
uses: renovatebot/github-action@v42.0.4
with:
configurationFile: renovate.json
token: ${{ secrets.RENOVATE_TOKEN }}
env:
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: ${{ secrets.FORGEJO_ENDPOINT }}
RENOVATE_GIT_AUTHOR: Renovate Bot <bot@renovateapp.com>
LOG_LEVEL: info

43
renovate.json Normal file
View file

@ -0,0 +1,43 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"platform": "gitea",
"username": "renovate[bot]",
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
"repositories": ["graham/aprs.me"],
"branchPrefix": "renovate/",
"semanticCommits": "enabled",
"dependencyDashboard": true,
"labels": ["dependencies"],
"schedule": ["every day"],
"timezone": "UTC",
"prConcurrentLimit": 10,
"prCreation": "immediate",
"automerge": false,
"rangeStrategy": "bump",
"separateMajorMinor": true,
"separateMinorPatch": false,
"packageRules": [
{
"description": "Elixir dependencies",
"matchManagers": ["mix"],
"matchUpdateTypes": ["major", "minor", "patch"],
"groupName": null,
"commitMessagePrefix": "chore(deps):"
},
{
"description": "Docker dependencies",
"matchManagers": ["dockerfile"],
"matchUpdateTypes": ["major", "minor", "patch"],
"groupName": null,
"commitMessagePrefix": "chore(deps):"
},
{
"description": "GitHub Actions",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["major", "minor", "patch"],
"groupName": null,
"commitMessagePrefix": "chore(deps):"
}
]
}