Skip to content

Pin tj-actions/changed-files to a commit SHA - #1200

Merged
jmanico merged 1 commit into
mainfrom
pin-changed-files-sha
Oct 20, 2026
Merged

jmanico merged 1 commit into
mainfrom
pin-changed-files-sha

Conversation

@jmanico

@jmanico jmanico commented Oct 20, 2026

Copy link
Copy Markdown
Member

Scope

CI only. No standard, research, or documentation changes.

What changed

The lock, markdownlint, and spell-check workflows used tj-actions/changed-files@v46, a mutable tag on the action whose tags were repointed to malicious code in March 2025. All three now pin ed68ef82c095e0d48ec87eccea555d944a631a4c (v46.0.5), the commit v46 points to today, so CI behavior does not change.

The other actions in use are GitHub's own actions/checkout and actions/setup-node.

Validation

  • v46 and v46.0.5 both resolve to ed68ef8 in tj-actions/changed-files.
  • All three workflow files parse as YAML; this PR's checks exercise the pinned action.

The v46 tag is mutable. Pin all three workflows to the v46.0.5 commit
(ed68ef8), which is what v46 currently points to, so a moved tag cannot
change what runs in CI.
@jmanico
jmanico merged commit 3158f57 into main Oct 20, 2026
4 checks passed
@jmanico
jmanico deleted the pin-changed-files-sha branch October 20, 2026 09:00
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