feat: Add auto-triage GitHub Action for issues and PRs #5049
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds a GitHub Action that automatically triages new issues and pull requests by analyzing their content and applying appropriate labels using the Kilo Code CLI.
How It Works
gh issue editorgh pr editSecurity Measures
gh issue editandgh pr editare permittedrm,sudo,curl,wget,bash, etc.)issues: writeandpull-requests: writeAvailable Labels
The agent can apply labels from these categories:
Setup Required
Add
KILOCODE_TOKENsecret to the repository:Testing
Tested locally with dummy issue data:
node cli/dist/index.js --auto "Triage this GitHub issue: ..."The CLI correctly identified and applied labels (
CLI,windows,MCP) for a test issue about "CLI crashes on Windows when using MCP servers".