[Bug] 停用的 CI Results Comment 工作流导致 fork push 出现失败记录

Open Beginner friendly
#12,102 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
84/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, yaml
Domain
ci-cd

Research direction

Start by reading .github/workflows/ci_results_comment.yml and the issue’s linked prior change, #10886, to confirm how the workflow trigger was disabled. Keep automatic commenting disabled and move the workflow file out of .github/workflows/ as suggested. Done when a normal fork push no longer creates a failed run for this inactive workflow.

Written by the indexing model from the issue text.

Description

action bug
RT-Thread Version

refactor/can-framework @ 1a6777fb426be36160371d43311ef8022c87dba7

Affected area

CI / GitHub Actions

Hardware/BSP vendor

Not applicable / Other

Architecture

Not applicable / Other

Board and hardware details

不涉及开发板或外设,问题发生在 GitHub Actions 工作流配置阶段

Develop Toolchain

Other

Describe the bug

将分支推送到 RT-Thread 的 fork 后,GitHub Actions 将 .github/workflows/ci_results_comment.yml 记录为失败,但没有启动任何 job。此次推送的提交未修改该工作流文件。

失败记录:https://github.com/wdfk-prog/rt-thread/actions/runs/46350534396

检查发现,上游 #10886 为暂时停用自动评论,注释掉了整个 on: workflow_run。当前 master 仍将这份没有有效触发器的文件保留在 .github/workflows/ 下。

预期:自动评论保持停用,fork 的普通 push 不应因这个已停用的工作流产生失败记录。

Other additional context

建议在维持停用状态的前提下,暂时将 ci_results_comment.yml 移出 .github/workflows/,等准备好恢复自动评论时再移回。

上游文件:https://github.com/RT-Thread/rt-thread/blob/master/.github/workflows/ci_results_comment.yml

Dominant language
C
Stars
12.4k
Forks
5.5k
Avg merge
3d 11h
Merged PRs (30d)
80

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RT-Thread/rt-thread

All issues in RT-Thread/rt-thread

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.