[Bug]: markdownlint CI job lints 0 files — glob quoting makes lint.yml a no-op

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, markdown
領域
ci-cd, tooling

調査の方向性

.github/workflows/lint.yml と markdownlint ジョブから始め、Issue に引用されている quoted-glob コマンドを再現して、workflow の実行 34513299255 を調査します。意図された追跡対象 Markdown の範囲に一致していること、および既存の違反によってジョブが失敗することを確認してください。その結果として 32 ファイルに発生する 277 件の問題については、メンテナーによる指針が必要です。

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

説明

triage-nice-to-have
Bug Description

The markdownlint job in .github/workflows/lint.yml lints zero files on every run, so it reports success unconditionally. Markdown formatting has not been enforced in CI since 2026-02-10.

Steps to Reproduce
  1. Open Lint workflow run 34513299255 for commit c173bf19a6654e3b05386ec3599349a55282b897 and inspect the markdownlint job. It reports Linting: 0 files and Summary: 0 issues in 0 files.
  2. Reproduce locally with: npx --yes markdownlint-cli2@0.23.2 "'/*.md'" "!extensions//*.md".
  3. Remove the single quotes; the command then matches files and reports the existing violations.
Expected Behavior

The job should lint the tracked Markdown files it is intended to cover (/*.md except extensions//*.md) and fail when they contain lint errors.

Actual Behavior

The job matches no files and always passes.

Specify CLI Version

Not applicable — CI workflow defect at main @ c173bf19a6654e3b05386ec3599349a55282b897

AI Agent

DeepSeek Harness

Operating System

Windows 11 host; behavior confirmed in the live ubuntu-latest runner log

Python Version

Not applicable — workflow defect

Error Logs
markdownlint-cli2 v0.23.2 (markdownlint v0.41.1)
Finding: '**/*.md' !extensions/**/*.md
Linting: 0 files
Summary: 0 issues in 0 files
Additional Context

Root cause: the YAML block scalar in .github/workflows/lint.yml preserves the single quotes around **/*.md, so markdownlint-cli2 receives a quoted glob that matches nothing. The issue was introduced by commit f14a47e. Running the intended scope against tracked files reports 277 issues across 32 files. Removing the quotes would make CI meaningful but red, so maintainer direction is needed for the intended scope and cleanup plan.

AI Assistance Disclosure: AI assistance was used for repository inspection, reproduction, evidence gathering, and drafting this report. The finding was checked against the frozen commit, live CI log, local reproduction output, and all-state issue/PR searches; no code changes were made for this report. Related issue #1030 does not report this exact defect.

Specific model and mode: OpenAI Codex (GPT-5), autonomous mode.

主要言語
Python
スター
138k
フォーク
12.4k
平均マージ
3日 6時間
マージ済み PR(30日)
136

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

github/spec-kit のほかの issue

github/spec-kit の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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