mingzaily/Issue AI Analyze

AI-assisted triage for GitHub issues with label mapping, duplicate hints, and structured comments.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 28, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: mingzaily/issue-ai-analyze@4819cc1bc46da45f73e85bba7821d793c65d8d58 # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub token with issue write permission. In most workflows this is just secrets.GITHUB_TOKEN.yes
prompt-fileOptional custom prompt YAML file. Defaults to prompts/general.prompt.yml.no""
modelOptional model override written into the resolved prompt before inference.no""
languageOutput language for bundled prompt instructions and built-in comments. Supported values: zh, en.nozh
label-mapOptional inline label mapping. Use one key=value entry per line, for example bug=type/bug. Use rerun=ai-rerun,ai-recheck for rerun labels.no""
label-map-fileOptional YAML file path for label management config. Supported keys are bug, question, enhancement, documentation, duplicate, needs-info, and rerun. Takes precedence over label-map.no""
openai-compatible-endpointOptional OpenAI-compatible endpoint. When set together with the token, GitHub Models is skipped.no""
openai-compatible-tokenOptional token for the OpenAI-compatible endpoint.no""
openai-compatible-headersOptional custom headers forwarded to actions/ai-inference.no""
comment-markerHidden marker used to find the latest AI analysis comment.no<!-- issue-ai-analyze -->
recent-comments-limitNumber of recent comments passed to the model.no10
open-issues-limitNumber of open issues included for duplicate detection.no50
namedescription
should-runWhether the current event triggered an analysis run.
okWhether AI normalization succeeded.
result-jsonNormalized analysis result JSON.
labelsJSON array of labels applied to the issue after mapping.
categoryNormalized category selected by the model.
dispositionNormalized disposition selected by the model.
needs-infoWhether the issue still needs more information after normalization.
comment-idThe AI comment ID created or updated during this run.
comment-strategyWhether this run replaced the latest AI comment or created a new one.
transportWhich inference transport was selected.
resolved-modelEffective model resolved from the prompt file or action defaults.
resolved-response-formatEffective response format resolved from the prompt file.
resolved-model-parametersEffective modelParameters object resolved from the prompt file, serialized as JSON.