Files
Heimdall/skills/renovate-automation/SKILL.md
T
arnaud.dartois c5a250586b
Heimdall Gitea / Detect CI scope (push) Successful in 5s
Heimdall Gitea / Build and tests (push) Successful in 17m45s
Heimdall Gitea / Build and scan server image (push) Skipped
Heimdall Gitea / Build and scan agent image (push) Skipped
Heimdall Gitea / CI policy (push) Successful in 3s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Skipped
Heimdall Gitea / Publish versioned installer release (push) Skipped
fix(ci): use Forgejo-supported variable for Renovate endpoint
Co-authored-by: Arnaud Dartois <admin@tordais.cc>
2026-11-12 12:17:53 +01:00

2.7 KiB

name, description
name description
renovate-automation Diagnose and maintain Renovate dependency updates through Gitea Actions without exposing bot credentials.

Heimdall Renovate workflow

Use this skill for .gitea/workflows/renovate.yml, renovate.json, or dependency-update failures.

  • Renovate runs only on its weekly schedule or manual dispatch, on [ubuntu-latest, build-agent], in the pinned Renovate container. Keep RENOVATE_TOKEN in Actions secrets and FORGEJO_API_ENDPOINT in Actions variables; do not add either credential or forge hostname to repository files. Forgejo reserves variable names beginning with GITEA_ and rejects them.
  • The endpoint must be the HTTPS Forgejo API root ending in /api/v1. The workflow checks that the token can call /user and read arnaud.dartois/Heimdall before Renovate starts. Preflight logs only response status and a safe diagnosis; never print request headers, response bodies, or token values.
  • HTTP 401/403 means the secret is missing, expired, revoked, or lacks repository access. Configure a bot token with repository read and write access so Renovate can open pull requests. Read preflight success does not prove write access; confirm a successful run that opens or updates a PR.
  • Use node --test scripts/ci/renovate-preflight.test.mjs to test endpoint validation and sanitized auth failures locally. Do not run Renovate locally with production credentials.
  • Run bash skills/renovate-automation/acceptance.sh after changing the preflight or its endpoint wiring. It exercises valid and rejected synthetic credentials over an isolated HTTPS mock in Compose; the test container trusts only the generated self-signed certificate for its local fixture.
  • For a changed preflight/deployment path, validate a disposable Compose project with a mock HTTPS API, a synthetic token, no host-published ports or persistent data, and both accepted and rejected credentials. Install an EXIT cleanup trap before startup, preserve the test exit status, remove that exact project, and confirm it leaves no containers, volumes, or networks; if pulling the Node base image is unavailable, record the blocker and rerun the recipe when registry access is restored.
  • The mock-preflight recipe uses a shared upstream Node image and creates no local images. Retain that base image. If the recipe adds a locally built mock/helper/application image, record its unique tag and remove/verify only that exact tag in the same cleanup trap, including on failure. Do not use --rmi all or broad prune commands.
  • For operational changes, update the Renovate Gitea issue with the workflow run and the remaining remote-secret validation. Never claim the bot works based only on configuration presence.