This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
labelprint/.gitea/workflows/renovate.yaml
randy a76c35304c
deploy / deploy (push) Successful in 8s
Renovate: run in the official image instead of npm install
npm picks a Renovate whose engines.node matches the runtime, so with
setup-node on a non-matching major it silently installed an old,
unsupported Renovate (37.x on Node 26). The image ships its own Node,
skips the per-run install and its warnings, and installs tools like
bundler on demand.
2026-11-03 18:22:05 +01:00

31 lines
1.1 KiB
YAML

name: Renovate
on:
workflow_dispatch:
schedule:
- cron: "TZ=Europe/Bratislava 0 6 * * 1"
jobs:
renovate:
runs-on: ubuntu-latest
# Official image instead of `npm install -g renovate`: no per-run
# install, and Node is whatever this Renovate release ships with (npm
# silently picks an older Renovate when the runtime Node doesn't match
# its engines.node). Tools like Ruby/bundler for lockfile updates get
# installed on demand by the image's containerbase. Renovate bumps
# this tag itself.
container:
image: ghcr.io/renovatebot/renovate:44
steps:
- name: Run Renovate
run: renovate
env:
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: "${{ gitea.server_url }}/api/v1/"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_REPOSITORIES: "${{ gitea.repository }}"
RENOVATE_ONBOARDING: "false"
RENOVATE_BINARY_SOURCE: install
# Secret named GH_COM_TOKEN: Gitea reserves the GITHUB_ prefix.
GITHUB_COM_TOKEN: ${{ secrets.GH_COM_TOKEN }}