Skip to content

ci: pin ludeeus/action-shellcheck to a full commit SHA#4396

Open
kobihikri wants to merge 1 commit into
Unstructured-IO:mainfrom
kobihikri:harden/pin-shellcheck
Open

ci: pin ludeeus/action-shellcheck to a full commit SHA#4396
kobihikri wants to merge 1 commit into
Unstructured-IO:mainfrom
kobihikri:harden/pin-shellcheck

Conversation

@kobihikri

@kobihikri kobihikri commented Jul 13, 2026

Copy link
Copy Markdown

What

Pin ludeeus/action-shellcheck@master00b27aa… in ci.yml (tag kept in a trailing comment).

Why

@master is a moving reference — whatever it points to at run time runs in CI. ci.yml is a
secret-heavy workflow (UNS_API_KEY, HF_TOKEN, Confluence/Box/Airtable tokens, …), so removing a
mutable third-party ref here is worthwhile defense-in-depth: if the action's master were moved
(compromise or an accidental change), the new code would run in CI — the class of issue behind the 2025
tj-actions/changed-files incident. Pinning to a SHA closes that.

Scope / safety

  • Behaviour unchanged — the SHA is the current tip of the action's master. Signed-off.
  • Renovate/Dependabot can still bump a SHA pin (the tag comment keeps it readable).

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

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

Review in cubic

ci.yml references this third-party action by the mutable @master tag. Pin it to
the current master commit SHA (tag kept in a trailing comment) so a moved tag
can't run unreviewed code in CI. Behaviour unchanged; per GitHub's guidance to
pin actions to a full-length commit SHA.

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

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Shadow auto-approve: would auto-approve. Pins a third-party GitHub Action from a mutable branch to a specific commit SHA for supply-chain security. One-line change in CI workflow, no behavioral impact.

Re-trigger cubic

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