34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
# 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.14
|
|
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>
|
|
GITHUB_COM_TOKEN: ${{ secrets._GITHUB_COM_TOKEN }}
|
|
LOG_LEVEL: info
|