Add Renovate for dependency updates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1c294d7dc7
commit
9fed0a046d
4 files changed
+75
-1
No files matched your search
@@ -0,0 +1,32 @@
|
||||
# Dependency updates with Renovate (Composer packages, Docker base images, workflow actions).
|
||||
#
|
||||
# Runs daily and on demand. Renovate opens pull requests on `renovate/*` branches; the normal CI
|
||||
# (ci.yml, job `test`) runs on them, and they are merged by hand like every other PR.
|
||||
# Rules live in renovate.json. Renovate is restricted to this repository (no autodiscovery).
|
||||
#
|
||||
# Repository secret (Settings → Actions → Secrets):
|
||||
# RENOVATE_TOKEN Gitea access token with scopes repository (read/write), issue (read/write),
|
||||
# user (read); plus organization (read) if the repo belongs to an organization.
|
||||
name: Renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Run Renovate
|
||||
uses: renovatebot/github-action@v46.3.10
|
||||
with:
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
env:
|
||||
RENOVATE_PLATFORM: gitea
|
||||
RENOVATE_ENDPOINT: ${{ gitea.server_url }}/api/v1
|
||||
RENOVATE_REPOSITORIES: ${{ gitea.repository }}
|
||||
RENOVATE_GIT_AUTHOR: Renovate Bot <renovate@noreply.invalid>
|
||||
LOG_LEVEL: info
|
||||
Reference in new issue
Block a user