riseproject-dev / riseproject-dev/python-wheels
Narrow `pr-trigger.yml` to ignore publish-only changes in workflows
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- 平均合并
- 16 小时 14 分钟
- 30 天内合并 PR
- 952
描述
After creating #169 , the build-numpy.yml workflow kicked off again despite no new version to build. This is expected due to how the existing checker workflows were designed, and the publish step wasn't going to run anyway since it wasn't on main, but it's wasteful to be running a build in this case. If it's simple enough, we should change the pr-trigger.yml workflow so that it only triggers builds when parts of the script other than the publish job are modified. This may be too complex to justify.
Alternatively, we could do some further rework (once the composite action in #169 is merged) to have it perform the publish steps in a "mock" mode, so that we're testing the publishing steps as much as possible too. It would mean letting the superfluous wheel builds to run though, without further tweaks.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 pr-trigger.yml workflow 开始,将其与 build-numpy.yml 进行比较,然后检查 #169 引入的 workflow 更改。更新触发条件,使仅涉及发布的更改不会启动构建,而其他脚本更改仍会启动构建,并验证生成的 workflow 行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github-actions
- 领域
- build-system, ci-cd
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100