chore: replace runs-on/cache with the StepSecurity-maintained fork - #29
Open
rehan-fr wants to merge 2 commits into
Open
chore: replace runs-on/cache with the StepSecurity-maintained fork#29rehan-fr wants to merge 2 commits into
rehan-fr wants to merge 2 commits into
Conversation
5 refs in ci.yml (4x root cache, 1x cache/save) move to step-security/runs-on-cache@c5b0cba1 # v5.0.7 - the sha the rest of the org already pins. action.yml is byte-identical apart from author:, and the RunsOn S3 backend (RUNS_ON_S3_BUCKET_CACHE) is preserved.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
shpendnilafresha
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Swaps all six
runs-on/cache*references in this repo to the StepSecurity-maintained fork, pinned to thesha the rest of the org already uses (
c5b0cba15d05488ebc630ad8d1e95b3d9b35ac73 # v5.0.7):.github/workflows/ci.ymlruns-on/cache@a5f51d6fstep-security/runs-on-cache@c5b0cba1.github/workflows/ci.ymlruns-on/cache/save@a5f51d6fstep-security/runs-on-cache/save@c5b0cba1.github/workflows/dev-publish.yamlruns-on/cache/restore@a5f51d6fstep-security/runs-on-cache/restore@c5b0cba1Why
Part of the org-wide effort to move third-party GitHub Actions onto StepSecurity-maintained forks.
This repo is a fork, and GitHub code search does not index forks — so it was invisible to the earlier
sweeps. It is the last place in
freshaengineeringstill callingruns-on/cache,runs-on/cache/saveorruns-on/cache/restorefrom a workflow.Why this is safe
action.yml,save/action.ymlandrestore/action.ymlbetween
runs-on/cache@a5f51d6fandstep-security/runs-on-cache@c5b0cba1, the only differing line inall three files is
author:. Identical inputs, outputs andruns.using: 'node24'— no node jump. The# v4→# v5.0.7comment change is a label correction, not a behaviour change.(
runs-on,runner={1,2,4}cpu-linux-x64), so the S3-backed cache path is load-bearing. The fork keepsRUNS_ON_S3_BUCKET_CACHEdetection insrc/restoreImpl.ts/src/saveImpl.tsand in the shippeddist/bundles, including the automatic fallback to GitHub's cache service.freshaengineering/libclusterruns the sameCI template and has been on
step-security/runs-on-cache@c5b0cba1 # v5.0.7(root,/saveand/restore) with green builds.than requiring a StepSecurity subscription.
Note we deliberately did not use the fork's
v4tag: itssave/andrestore/arenode20, whichwould be a regression from the node24 currently pinned here.
Notes
.github/actions.lock.yamlis generated and deliberately untouched; it refreshes when its generatornext runs, so it will keep naming
runs-on/cachefor a while. That is expected, not a failed swap — andit's why StepSecurity's dashboard lags behind.
inserts
harden-runnersteps — different hunks, no overlap with these lines. Whichever merges second mayneed a trivial rebase.