Avoiding `pull_request_target` usage in workflows
還沒有人認領這個 Issue。
評估
研究方向
從第 4 行的 .github/workflows/pr-comment.yml 開始,閱讀 GitHub 關於安全使用 pull_request_target 的指南,以及連結的 checkout 變更。依照提議分離建置和發布職責,然後確認沒有 workflow 使用 pull_request_target,並確認兩個必要的 action 仍能安全運作。
由索引模型根據 Issue 內容生成。
描述
One of this repositories workflow's uses pull_request_target:
Please see the GitHub documentation for a list of risks associated with the target. I see the workflow is currently quite careful, but IMO it is still better to split it into two, one for building and one for posting.
It is now disallowed by actions/checkout (see blog post). We are also considering disabling it across the organisation (new feature), but it would break this workflow.
- 主要語言
- Python
- 星號
- 371
- 分支
- 413
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
python/python-docs-es 的其他 Issue
-
3.14
難度 2/5 1-2 天 新手友好度 72/100
python/python-docs-es#3839 · 1 則留言 ·
-
3.14 good first issue
難度 2/5 1-3 小時 新手友好度 74/100
python/python-docs-es#3838 · 2 則留言 ·
-
3.14 good first issue
難度 1/5 1 小時以內 新手友好度 68/100
python/python-docs-es#3837 · 1 則留言 ·
-
3.14
難度 2/5 1-3 小時 新手友好度 68/100
python/python-docs-es#3835 ·
-
3.14 good first issue
難度 1/5 1-3 小時 新手友好度 68/100
python/python-docs-es#3834 · 1 則留言 ·
查看 python/python-docs-es 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
-
難度 2/5 1-3 小時 新手友好度 84/100
PolicyEngine/policyengine-us#9559 ·
-
priority: p3
難度 2/5 1-3 小時 新手友好度 72/100
googleapis/librarian#7636 ·
-
from:qa priority:P2 reliability tech-debt
難度 2/5 1-3 小時 新手友好度 78/100
spec-kitty/spec-kitty#4874 ·
-
難度 2/5 1-3 小時 新手友好度 68/100