From 86e3b19d6d0ab56e2ddc8351e1e5f8efd6e1b16e Mon Sep 17 00:00:00 2001 From: tannevaled Date: Tue, 24 Nov 2026 22:23:26 +0100 Subject: [PATCH] ci: validate Renovate config with renovate@44, the runner's major renovatebot/github-action runs ghcr.io/renovatebot/renovate:44, a floating major. The validator used renovate@latest, which leaves that major the day Renovate 45 is published and would then judge the config with an engine the runner does not run. renovate@44 keeps both on the same floating major with nothing to raise by hand. Refs go-fleettools/fleettools#305 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91ff8c3..b2d06f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,10 +135,10 @@ jobs: # --help warns about this -- so the two kinds are validated # separately, each in the mode Renovate will actually read it in. if [ ${#global[@]} -gt 0 ]; then - npx --yes --package renovate@latest renovate-config-validator --strict "${global[@]}" + npx --yes --package renovate@44 renovate-config-validator --strict "${global[@]}" fi if [ ${#repo[@]} -gt 0 ]; then - npx --yes --package renovate@latest renovate-config-validator --strict --no-global "${repo[@]}" + npx --yes --package renovate@44 renovate-config-validator --strict --no-global "${repo[@]}" fi if [ ${#global[@]} -eq 0 ] && [ ${#repo[@]} -eq 0 ]; then echo "no Renovate config in this repository -- nothing validated"; exit 1 @@ -154,7 +154,7 @@ jobs: bad="$(mktemp -d)" printf '{"thisOptionDoesNotExist": true}\n' > "$bad/renovate.json" cd "$bad" - if npx --yes --package renovate@latest renovate-config-validator \ + if npx --yes --package renovate@44 renovate-config-validator \ --strict --no-global renovate.json; then echo "SELF-TEST FAILED: the validator accepted an unknown option." echo "Step 3 above therefore proves nothing. Fix this before trusting it."