Files
renovate-config/.gitea/workflows/renovate.yaml
T
Emma Thorpe 85dcbf1aa0 ci(renovate): serialize runs, quiet logs, clean config-file env
- Add a concurrency group so the hourly schedule and push-to-main triggers
  cannot run Renovate twice at once (avoids duplicate PRs and concurrent Gitea
  writes).
- Lower LOG_LEVEL from debug to info for normal operation.
- Remove leftover template comments from the RENOVATE_CONFIG_FILE and token env.

Closes #43
Closes #44
Closes #45
2026-06-16 14:43:43 +01:00

28 lines
821 B
YAML

name: renovate
on:
schedule:
- cron: "@hourly"
push:
branches:
- main
# Serialize runs: the hourly schedule and a push to main can otherwise overlap,
# producing duplicate PRs and concurrent writes to Gitea.
concurrency:
group: renovate
cancel-in-progress: false
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:43.226.1@sha256:0b678d3b80ec23a7bf8c967b7796d9df09c50eac7fa16c7b4fd5761a9f4a7be0
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- run: renovate
env:
RENOVATE_CONFIG_FILE: "/workspace/lyrathorpe/renovate-config/config.js"
LOG_LEVEL: "info"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}