fix: checked task-list declarations using * or + fail the contribution check

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

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

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

評価

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

調査の方向性

.github/workflows/ai-contribution-declaration.ymlから始めます。issueでは、リストマーカーとして-のみを受け入れるmatcherが指摘されています。提供された*と+の再現例と動作を比較し、同等のチェック済みタスクリスト項目を受け入れるようにチェックを更新するか、必要な形式を明確に示してください。両方の宣言文で3種類すべてのマーカーが意図どおりに動作すれば完了です。

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

説明

Hullo folks,

I'm doing some research for Tessl Code Review and we ran it against your repo. It flagged a potential issue, and I figured it made sense to share it with you:

Bug

The contribution-declaration check rejects checked Markdown task-list items when they use * or + instead of -. The declaration text and checked state are unchanged, but a non-exempt contributor gets told to complete both checkboxes.

This is a small contributor-workflow bug, rather than a Blazor runtime issue.

Reproduction

In a PR description, keep the two exact declaration sentences in the AI contribution declaration section, check both boxes, and change only their list marker:

## AI contribution declaration

* [x] I have read and followed the AI contribution policy.
* [x] I have personally reviewed and understood all changes, tested them, and take responsibility for this contribution.

Those are reproduction-fixture contents, not personal declarations for this report.

I executed the workflow's actual embedded Node script locally with a synthetic non-exempt author, empty exemption files and the same body for each case:

List marker Exit code Result
- [x] 0 Both declarations accepted
* [x] 1 Both declarations reported missing
+ [x] 1 Both declarations reported missing

The failure message is:

::error::A human contributor must complete both required checkboxes in the AI contribution declaration section of the pull request description.
Expected behavior and source

Equivalent checked unordered-list items should satisfy the check when they contain the exact required sentences. Alternatively, an intentionally dash-only format should be identified in the error so contributors can correct it.

At 701ec67, the matcher is:

line.trim().match(/^- \[[xX]\] (.+)$/)

It recognizes only the hyphen marker.

Validation limits

The local check ran the extracted workflow script unchanged in Node 25.2.0 on macOS, with filesystem reads and the process object replaced by fixtures. I did not open a test PR or run GitHub Actions. No .NET build was needed for this workflow-only case.

Full transparency: I work at Tessl, and we've spotted that using Tessl Code Review - using repository-level context and specific review lenses that improve over time through feedback. That’s how this finding surfaced.

We’re just getting started and want to offer the tool free to open-source projects. If this is useful, happy to give you access.

Baptiste

主要言語
C#
スター
4.9k
フォーク
497
平均マージ
1日 1時間
マージ済み PR(30日)
47

環境構築

はじめの一歩

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

microsoft/fluentui-blazor のほかの issue

microsoft/fluentui-blazor の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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