Skip to content

feat(need-fix-to-issue): categorize and deduplicate generated issues - #611

Merged
neilime merged 1 commit into
mainfrom
feat/292-need-fix-to-issue
Oct 19, 2026
Merged

neilime merged 1 commit into
mainfrom
feat/292-need-fix-to-issue

Conversation

@neilime

@neilime neilime commented Oct 19, 2026

Copy link
Copy Markdown
Member

Closes #292.

Adds a need-fix-to-issue composite action that creates TODO/FIXME issues, assigns the organization's Bug type to untyped issues, and closes duplicates. The reusable workflow performs checkout and forwards the manual commit inputs to the action.

When multiple open generated issues have the same title and source file, the oldest remains open and newer duplicates receive a linking comment and are closed with a duplicate relationship. Commit and line changes do not affect matching. Processing is scoped to the need-fix label, preserves existing issue types, excludes pull requests, and reuses duplicate comments on retries. Personal repositories skip issue typing; an unavailable Bug type produces a warning while duplicate handling continues.

The action uses the same shared Node.js CI configuration as parse-ci-reports, including a test:ci script that produces LCOV coverage. Documentation covers direct action use, workflow inputs, and matching rules. Inactivity management belongs to the separate Stale workflow.

Validation completed locally:

  • make test
  • npm run test:ci --prefix actions/need-fix-to-issue — passes and generates LCOV coverage.
  • make lint 'need-fix-to-issue|__shared-ci'
  • Actionlint on affected workflows with repository publication references expanded, plus checks for input forwarding and permission propagation.

The nine issue-management tests mock GitHub APIs and cover matching boundaries, existing issue types, unavailable types, API failures, and retries after partial failure.

@github-actions

Copy link
Copy Markdown
Contributor

Super-linter summary

Language Validation result
BIOME_FORMAT Pass ✅
BIOME_LINT Pass ✅
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_COMMITLINT Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
JSCPD Pass ✅
MARKDOWN Pass ✅
MARKDOWN_PRETTIER Pass ✅
NATURAL_LANGUAGE Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅
YAML_PRETTIER Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter
Super-linter revision: 2da136927bd4a73596db63044b504547c62cb854
Super-linter version: 9.0.0

@neilime
neilime merged commit e74cfbf into main Oct 19, 2026
54 checks passed
@neilime
neilime deleted the feat/292-need-fix-to-issue branch October 19, 2026 09:25
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.

Enhancing "need-fix-to-issue" GitHub Action for Improved Issue Management

1 participant