Skip to content

ci(lint-actions): pin and verify actionlint - #3

Open
derrix060 wants to merge 1 commit into
surgefrom
ci/pin-actionlint
Open

derrix060 wants to merge 1 commit into
surgefrom
ci/pin-actionlint

Conversation

@derrix060

Copy link
Copy Markdown

I noticed that lint-actions runs a script from the actionlint main branch via curl, which then fetches the latest actionlint with no checksum.

The fix is to download the v1.7.12 linux_amd64 release tarball, verify its sha256 against the release checksums file and run /tmp/actionlint.

Actionlint already reports findings here (unknown runner label ubuntu-20.04 etc.), unchanged by this PR since the old script also fetched the latest version.

The lint-actions workflow ran a script from the actionlint main branch
via curl, which then fetched the latest actionlint with no checksum.
A mutable branch was executing in CI.

Download the v1.7.12 linux_amd64 release tarball, verify its sha256
against the value in the release checksums file and run
/tmp/actionlint.

Claude-Session: https://claude.ai/code/session_01N9kjTzpfMHvVNLhn8TMxvk
Copilot AI balanced review requested due to automatic review settings October 9, 2026 16:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants