fix(create-issues-from-todos): remove mutable scanner image - #876
fix(create-issues-from-todos): remove mutable scanner image#876devantler wants to merge 1 commit into
Conversation
✅MegaLinter analysis: Success
Notices📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
Exact-head static review — changes needed at
|

Motivation
ghcr.io/alstr/todo-to-issue-action:v5.1.15with the workflowGITHUB_TOKEN, an AppPROJECTS_SECRET, and a writable workspace, creating a supply-chain risk if the tag is retagged upstream.Description
docker runofghcr.io/alstr/todo-to-issue-action:v5.1.15increate-issues-from-todos/action.yamlwith a commit-pinned invocationuses: alstr/todo-to-issue-action@37bb7b56e58569ef273b60678048030a7f0c261a # v5.1.15and preserved theAUTO_ASSIGN,CLOSE_ISSUES,PROJECT, andPROJECTS_SECRETinputs.docker runwrapper so the reviewed action code runs under the normal GitHub Actions runner isolation..github/workflows/ci.yamlto fail if a mutable GHCR tag is used and to require the upstream action be pinned to the reviewed commit SHA string.uses:refs.Testing
ruby -e "require 'yaml'; ARGV.each { |p| YAML.parse_file(p) }" create-issues-from-todos/action.yaml .github/workflows/ci.yamlwhich succeeded.ghcr.io/alstr/todo-to-issue-action:and does containalstr/todo-to-issue-action@37bb7b56e58569ef273b60678048030a7f0c261a # v5.1.15usinggrepchecks which passed.create-issues-from-todos/action.yamlwhich passed.git diff --checkto ensure no whitespace/merge issues and noted thatactionlint,yamllint, andzizmorare not installed in this environment.Codex Task