CI cancels nightly runs and pushes to main

未关闭 适合新手
#3,267 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
csharp, github-actions, yaml
领域
ci-cd

调研方向

从 .github/workflows/ci.yml 第 21–23 行开始,检查并发组和取消设置如何应用于拉取请求、push、计划任务和手动运行。更新提案中描述的 workflow 行为,然后检查 nightly-report job 及其条件。完成标准是:推送到 main 和夜间运行不会互相取消,且被取消的夜间运行会得到报告。

由索引模型根据 Issue 内容生成。

描述

area:build type:bug

Problem

.github/workflows/ci.yml:21-23 sets group: ${{ github.workflow }}-${{ github.ref }} with cancel-in-progress: true for every event, so the schedule, pushes to main and manual runs on main cancel each other. 4 of the last 10 nightly runs and 8 of the last 30 pushes to main were cancelled. The nightly Windows suite is skipped without a report (nightly-report runs on failure() only), and a cancelled commit is not releasable, since publish.yml requires a successful CI and Fresh machine run.

Proposal

group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} and cancel-in-progress: ${{ github.event_name == 'pull_request' }}; report cancelled() for the schedule.

Acceptance

  • Pushes to main and the nightly run are never cancelled by another run
  • A cancelled nightly run is reported

Found in the code review of 17 Nov 2026 (C1).

主要语言
C#
星标
569
派生
107
平均合并
2 小时 49 分钟
30 天内合并 PR
397

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fluentcms/FluentCMS 的其他 Issue

查看 fluentcms/FluentCMS 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。