Skip to content

feat(bot): add tool configuration knowledge to triage bot#237

Merged
DimaBir merged 3 commits into
microsoft:mainfrom
DimaBir:fix/triage-bot-tool-config
Apr 13, 2026
Merged

feat(bot): add tool configuration knowledge to triage bot#237
DimaBir merged 3 commits into
microsoft:mainfrom
DimaBir:fix/triage-bot-tool-config

Conversation

@DimaBir

@DimaBir DimaBir commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes triage bot permissions: issues: read -> issues: write (bot was failing with "Resource not accessible by personal access token" on safe_outputs)
  • Adds tool-specific configuration knowledge to bot prompt (env var pattern, per-tool examples, .gdnconfig format)
  • Expands add-labels allowlist with area: labels
  • Makes fetch tool usage explicit per gh-aw best practices
  • Adds response example for tool config questions

Companion change: Tool-Configuration wiki page (already published)

Test plan

  • Re-trigger the triage bot on issue checkov fails to download external modules #235 to confirm labels and comments are posted
  • Open a test issue asking about tool configuration and verify the bot responds with env var pattern
  • Verify the bot can fetch and reference the new wiki page
  • Confirm area: labels can be applied by the bot

@DimaBir DimaBir requested a review from a team as a code owner April 6, 2026 08:18
@DimaBir DimaBir merged commit 5db8d82 into microsoft:main Apr 13, 2026
2 checks passed
@DimaBir DimaBir deleted the fix/triage-bot-tool-config branch April 13, 2026 06:20
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.

3 participants