Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ci scope: renaming a C file to *.md classifies the PR as docs-only (code=false)

オープン 初心者向け
#1,311 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
86/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, github-actions, python

調査の方向性

.github/workflows/ci.yml の Scope ジョブから始め、python3 /tmp/sp-critic/repro_scope.py .github/workflows/ci.yml を実行して rename-to-md の結果を再現します。変更されたパスがどのように収集されるかを確認し、docs のみではない古いパスを持つ rename または delete によって code=true が設定されることを検証します。.c-to-.md の fixture を使って Scope のセルフテストを追加または更新し、fix を元に戻したときに失敗することを確認します。

索引モデルが issue の本文から書いたものです。

説明

area:ci found-by:critic kind:gate-defect

Found by a blind critic on PR #1310. The same result on main 7706607: this is pre-existing.

The scope job in .github/workflows/ci.yml decides code=true|false from the changed paths. For a rename it sees only the NEW name. git mv src/foo.c notes.md therefore yields code=false, and every code-scoped job (the suite, ASan, the variants) is skipped, although a C source was removed from the build.

Repro: python3 /tmp/sp-critic/repro_scope.py .github/workflows/ci.yml. It builds tiny git histories and runs the real scope step: a code edit gives true, a docs edit gives false, rename-to-md gives false.

Done when:

  • a rename or delete whose OLD path is not docs-only yields code=true (use --name-status or --no-renames)
  • a planted fixture (rename .c → .md) is in the scope step's self-test or CI and goes red with the fix reverted
主要言語
C
スター
3
フォーク
7
平均マージ
4時間 15分
マージ済み PR(30日)
106

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。