Skip to content

ci: let Renovate update safe-chain and pin the Renovate version - #5210

Open
mdeliatf wants to merge 1 commit into
traefik:masterfrom
mdeliatf:ci/pin-safe-chain-and-renovate
Open

mdeliatf wants to merge 1 commit into
traefik:masterfrom
mdeliatf:ci/pin-safe-chain-and-renovate

Conversation

@mdeliatf

@mdeliatf mdeliatf commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

safe-chain

safe-chain was pinned to 1.4.7, but hard-coded in four workflows with no Renovate marker, so it was never updated. New setup:

  • The install is now a composite action, .github/actions/setup-safe-chain, used by pr, pr-prod-build, main and release.
  • The version is pinned to 1.5.29 with its sha512, behind a # renovate: marker that the existing custom.regex manager picks up (npm datasource: the AikidoSec IP allow list rejects Renovate's token on GitHub releases).
  • Renovate bumps the version but not the checksum, so a postUpgradeTasks rule runs .github/scripts/pin-safe-chain.sh to recompute it. Its command is allow-listed with RENOVATE_ALLOWED_COMMANDS in renovate.yaml.

Renovate

renovatebot/github-action ran Renovate from the floating ghcr.io/renovatebot/renovate:44 tag, so Renovate's own behaviour could change on any Monday run without a PR. renovate-version is now pinned to 44.236.5. Renovate detects this input natively, so it is updated through regular bump PRs, grouped with the GitHub Actions updates.

Dependency changes

Dependency Version State
@aikidosec/safe-chain (CI install) 1.4.7 -> 1.5.29 Updated
Renovate (CI image) 44 -> 44.236.5 Pinned

Both versions are older than 3 days.

Breaking changes

None.

How to test?

  1. The PR workflows install safe-chain through the new action and pass.
  2. npx -p renovate@44.236.5 renovate-config-validator .github/renovate.json5 passes.
  3. renovate --platform=local --dry-run=extract finds @aikidosec/safe-chain 1.5.29 in .github/actions/setup-safe-chain/action.yml and ghcr.io/renovatebot/renovate 44.236.5 in renovate.yaml.
  4. .github/scripts/pin-safe-chain.sh on a copy set to 1.5.27 writes that release's checksum.

Good PR checkboxes

  • Change has been tested
  • Added/Updated tests
  • Added/Updated stories
  • PR follows conventions
  • Labels are set
  • Project is linked

Move the safe-chain setup to a composite action pinned to 1.5.29 with a renovate marker, and refresh its checksum with a postUpgradeTask on each bump. Pin renovate-version to 44.236.5 so changes to Renovate itself go through a reviewed PR.
@mdeliatf mdeliatf added enhancement New feature or request status/2-needs-review area/infrastructure Pull requests that update infra/dependencies labels Nov 16, 2026
@mdeliatf
mdeliatf requested a review from gndz07 November 20, 2026 15:59

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infrastructure Pull requests that update infra/dependencies enhancement New feature or request status/2-needs-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant