Skip to content

ci: pin jlumbroso/free-disk-space to a full commit SHA#1389

Open
kobihikri wants to merge 1 commit into
ModelTC:mainfrom
kobihikri:harden/pin-free-disk-space
Open

ci: pin jlumbroso/free-disk-space to a full commit SHA#1389
kobihikri wants to merge 1 commit into
ModelTC:mainfrom
kobihikri:harden/pin-free-disk-space

Conversation

@kobihikri

Copy link
Copy Markdown

What

Pin jlumbroso/free-disk-space@main54081f1… in docker-publish.yml (tag kept in a trailing comment).

Why

@main is a moving reference. This use is in the docker-publish job, which logs in to the container
registry (GITHUB_TOKEN) and pushes images. The workflow already SHA-pins docker/login-action, so
this just brings free-disk-space in line. If the action's main were moved (compromise or an
accidental change), the new code would run in the push job — the class of issue behind the 2025
tj-actions/changed-files incident.

Scope / safety

  • Behaviour unchanged — the SHA is the current tip of the action's main. Signed-off.

Per GitHub's guidance to pin actions to a full-length commit SHA.

AI-assisted; I verified the workflow and the pinned SHA myself.

docker-publish.yml references this third-party action by the mutable @main tag,
in a job that logs in to the container registry and pushes images. The workflow
already SHA-pins docker/login-action, so this brings free-disk-space in line.
Pin it to the current main commit SHA (tag kept in a trailing comment).
Behaviour unchanged; per GitHub's guidance to pin actions to a full-length commit SHA.

Signed-off-by: Kobi Hikri <kobi.hikri@gmail.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant