Skip to content

fix(ci): heading-level mismatch in agent dianostic regex#604

Open
minhdqdev wants to merge 1 commit intoNVIDIA:mainfrom
minhdqdev:fix/issue-triage-heading-mismatch
Open

fix(ci): heading-level mismatch in agent dianostic regex#604
minhdqdev wants to merge 1 commit intoNVIDIA:mainfrom
minhdqdev:fix/issue-triage-heading-mismatch

Conversation

@minhdqdev
Copy link

Summary

Fix a false-positive condition in the issue-triage workflow where all bug reports submitted via the GitHub form template were incorrectly flagged with state:triage-needed, even when fully compliant with the agent-first requirement.

Related Issue

Fixes #603

Changes

  • Updated .github/workflows/issue-triage.yml to search for ### Agent Diagnostic (H3) instead of ## Agent Diagnostic (H2)
  • GitHub form templates always render textarea field labels as H3 headings regardless of template configuration; the workflow regex was searching for H2, causing every form submission to be flagged as missing an agent diagnostic

Testing

The workflow now correctly recognizes the Agent Diagnostic section in form-submitted issues and only applies state:triage-needed when the section is actually empty or contains only the placeholder text.

Checklist

  • Follows Conventional Commits format
  • No breaking changes
  • Related issue is referenced

Signed-off-by: minhdqdev <minhdq.dev@gmail.com>
@minhdqdev minhdqdev requested a review from a team as a code owner March 25, 2026 04:40
@minhdqdev minhdqdev changed the title ci(issue-triage): fix heading-level mismatch in agent diagnostic regex fix(ci): heading-level mismatch in agent dianostic regex Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: issue-triage workflow false-positives all bug reports due to H2/H3 heading mismatch

1 participant