Scope GITHUB_TOKEN permissions in the scheduled CI workflows
维护者通常 2 天内回复
评估
这个 Issue 还没有评估数据。
描述
Follow-up from #1816.
min-deps-ci.yml and upstream-dev-ci.yml have no permissions: block, so every job in them gets whatever the repo default grants. That default is currently read/write, which means the test jobs — the ones installing old or unreleased third-party packages — run with a token that can write to the repo. Only the failure-issue job actually needs that, and only for issues.
Fix: contents: read at the top of each workflow, issues: write on failure-issue. asv-benchmarking-pr.yml already does the top-level part.
Behaviour is unchanged; the bot has been opening issues fine (#1785, #1702, #1618). This just stops handing a write token to jobs that do not use one.
- 主要语言
- Python
- 星标
- 230
- 派生
- 56
- 平均合并
- 6 天 3 小时
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UXARRAY/uxarray 的其他 Issue
-
Update installation docs to include new conda recipes可能已有人在做 @Sevans711 于 16 天前认领。 未关闭documentation
难度 1/5 1 小时以内 新手友好度 82/100
UXARRAY/uxarray#1793 · 1 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
developer experience
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 2 天内回复
-
zonal_mean() and weighted_mean() should return the same type of object可能已有人在做 @Sevans711 于 25 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
UXARRAY/uxarray#1733 · 已指派 1 人 ·
维护者通常 2 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
Neighborhood filter radii in kilometers可能已有人在做 @cmdupuis3 于 3 天前认领。 未关闭improvement
UXARRAY/uxarray#1824 · 已指派 1 人 ·
维护者通常 2 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
noontide-co/mainbranch#1211 · 1 条评论 ·
维护者通常 1 天内回复
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adapters未关闭triage
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug settings ui
难度 2/5 1-3 小时 新手友好度 72/100
DewaldOosthuizen/py-tray-command-launcher#162 ·
维护者通常 1 天内回复
-
run_all sleeps after the final job despite documenting delays between jobs可能已有人在做 @Gambit-Checkmate 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100