GitHub Script action not pinned to a full-length commit SHA
还没有人认领这个 Issue。
评估
调研方向
从 issue 中引用的第 137 行 action.yml 开始,检查 accessibility-scanner workflow 对 actions/github-script 的使用。将 action 引用更新为完整长度的 commit SHA,然后验证该 workflow 是否满足 repository 的 pinning 要求并成功运行。
由索引模型根据 Issue 内容生成。
描述
The accessibility-scanner workflow uses actions/github-script@v8 without pinning it to a specific commit SHA. This violates security best practices and causes the pipeline to fail when the Require actions to be pinned to a full-length commit SHA setting is enabled.
Steps to Reproduce
- Enable Require actions to be pinned to a full-length commit SHA in the repository settings.
- Run the
accessibility-scannerworkflow. - Observe the failure caused by the unpinned
actions/github-scriptaction.
Expected Behavior
The workflow should run successfully with all actions pinned to full-length commit SHAs.
Actual Behavior
The workflow fails because actions/github-script@v8 is not pinned to a commit SHA.
- 主要语言
- TypeScript
- 星标
- 375
- 派生
- 42
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/accessibility-scanner 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
github/accessibility-scanner#264 ·
-
难度 3/5 1-2 天 新手友好度 48/100
github/accessibility-scanner#260 ·
-
难度 2/5 1-3 小时 新手友好度 50/100
github/accessibility-scanner#259 ·
-
难度 4/5 3-5 天 新手友好度 58/100
github/accessibility-scanner#245 ·
-
Sitemap Support未关闭
难度 5/5 一周以上 新手友好度 35/100
github/accessibility-scanner#244 ·
查看 github/accessibility-scanner 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
solana-foundation/solana-com#2245 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
`document.cookie` with `max-age=0` does not delete the cookie可能已有人在做 @BartInTheField 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
capricorn86/happy-dom#2460 ·
维护者通常 2 天内回复