Prevent duplicate GitHub Actions runs
还没有人认领这个 Issue。
- #39 来自 @nielslange —— 已关闭,未合并
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- github-actions
- 领域
- ci-cd
调研方向
从 issue 中链接的触发器定义处开始查看 .github/workflows/cs-lint.yml 和 .github/workflows/integrations.yml。比较 push 和 pull_request 事件如何导致重复运行,然后验证工作流对于 push 只运行一次,并且在创建 pull request 时不再重复检查。
由索引模型根据 Issue 内容生成。
描述
When creating a PR, the GitHub Actions run twice due to the following definitions:
For example, the checks on https://github.com/Automattic/hidden-posts/pull/37#partial-pull-merging show these duplicate runs:
While GitHub Actions runs are free for public repos, we should use them mindful. Running them once both saves recourses and deliver faster results of the checks. Therefore, I propose running the GitHub Actions only on push and not on pull_request.
- 主要语言
- PHP
- 星标
- 11
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Automattic/hidden-posts 的其他 Issue
-
Improve translation handling可能重新可做 @nielslange 于 2050 天前认领,目前没有进行中的 PR。 未关闭maintenance
Automattic/hidden-posts#20 · 已指派 1 人 ·
-
Add e2e tests未关闭testing
难度 4/5 3-5 天 新手友好度 38/100
Automattic/hidden-posts#19 ·
-
Add unit tests未关闭testing
难度 4/5 3-5 天 新手友好度 25/100
Automattic/hidden-posts#18 ·
-
难度 4/5 3-5 天 新手友好度 30/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 35/100
Automattic/hidden-posts#4 · 1 条评论 ·
查看 Automattic/hidden-posts 的全部 Issue
相似的 Issue
-
Awaiting Triage
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
reproduced
难度 2/5 1-3 小时 新手友好度 76/100
anomalyco/opencode#58664 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 87/100
WordPress/phpunit-test-runner#364 ·
维护者通常 4 天内回复
-
domain/framework Platform(Default) priority/high
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复