Files
EpicNext-Cms/.gitea/workflows/renovate.yaml
T
openhands fcf3d62197
CI / runtime-diagnostics (push) Skipped
CI / release (push) Skipped
CI / check (push) Failing after 1s
CI / deploy (push) Skipped
fix: corrigeer git remote paden voor docker runner
2026-09-03 16:41:37 +02:00

31 lines
1.0 KiB
YAML

name: Renovate
on:
schedule:
- cron: "0 5 * * *" # Every day at 05:00 UTC
workflow_dispatch: # Manual trigger
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Fix Git safe directory
run: "git config --global --add safe.directory '*' && git remote set-url origin https://epicnabbo.nl || true"
- name: Install Bash in Alpine
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
- name: Self-hosted Renovate
run: |
set -e
# Ensure cache dir exists before Docker starts
mkdir -p /var/tmp/renovate-cache
docker run --rm \
--user "$(id -u):$(id -g)" \
-e RENOVATE_TOKEN="${{ secrets.RENOVATE_TOKEN }}" \
-e RENOVATE_AUTODISCOVER=false \
-e RENOVATE_REPOSITORIES="${{ gitea.repository }}" \
-e RENOVATE_ONBOARDING=false \
-e LOG_LEVEL=info \
-v /var/tmp/renovate-cache:/tmp/renovate-cache \
ghcr.io/renovatebot/renovate:latest