From 34599d404c0614a146f3814f24e2bd965e9b3cda Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 20 Feb 2026 13:02:41 -0600 Subject: [PATCH] Add Renovate configuration for dependency updates --- .forgejo/workflows/renovate.yaml | 25 +++++++++++++++++++ renovate.json | 43 ++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 .forgejo/workflows/renovate.yaml create mode 100644 renovate.json diff --git a/.forgejo/workflows/renovate.yaml b/.forgejo/workflows/renovate.yaml new file mode 100644 index 0000000..7ba93d3 --- /dev/null +++ b/.forgejo/workflows/renovate.yaml @@ -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 + LOG_LEVEL: info diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..32257e0 --- /dev/null +++ b/renovate.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:base"], + "platform": "gitea", + "username": "renovate[bot]", + "gitAuthor": "Renovate Bot ", + "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):" + } + ] +}