Switch to upstream PyCQA/bandit-action once SHA pinning is merged
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 55/100
调研方向
先检查 PyCQA/bandit-action 的 issue #28 和 PR #29,然后确认已发布带有通过 SHA 固定的依赖项的新 upstream 版本。将 action.yml 中的 uses 引用更新为已发布的 upstream commit,保留其版本注释,并验证不再有任何 fork 引用。
由索引模型根据 Issue 内容生成。
描述
Context
We currently pin to a fork (lhoupert/bandit-action) instead of the upstream
PyCQA/bandit-action because the upstream action pins its internal dependencies
(actions/setup-python, actions/checkout, github/codeql-action/upload-sarif)
to mutable version tags rather than full-length commit SHAs.
This breaks workflows in environments that enforce SHA pinning for all transitive
action dependencies — a policy enforced by StepSecurity and OpenSSF Scorecard.
Upstream issue: https://github.com/PyCQA/bandit-action/issues/28
Upstream fix PR: https://github.com/PyCQA/bandit-action/pull/29 (awaiting review)
Action required
Once PR #29 is merged and a new release of PyCQA/bandit-action is cut, update
action.yml to replace:
uses: lhoupert/bandit-action@<sha>
with the upstream pinned SHA:
uses: PyCQA/bandit-action@<new-sha> # vX.Y.Z
Then the fork can be retired.
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
developmentseed/action-python-security-auditing 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
查看 developmentseed/action-python-security-auditing 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 74/100