Skip to content

Add issue triage agentic workflow#398

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/triage-new-issues-workflow
Draft

Add issue triage agentic workflow#398
Copilot wants to merge 2 commits intomainfrom
copilot/triage-new-issues-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 26, 2026

Adds a GitHub Agentic Workflow (gh-aw) that automatically triages newly opened issues.

Workflow behavior (issue-triage.md)

  • Triggers on issues: opened for all GitHub users (roles: all)
  • Labels by type: bug, enhancement, documentation, question, performance
  • Labels by priority: priority:high, priority:medium, priority:low
  • Duplicate detection: searches open + closed issues (last 6 months); comments with a link and adds duplicate label if found
  • Clarification requests: adds needs-info and posts a targeted comment when a bug is missing repro steps/version info or a feature request lacks motivation
  • Assignment: assigns clearly-scoped issues to @eiriktsarpalis; skips duplicates and needs-info issues
  • Uses noop safe output to signal triage complete when no action is required

Security notes

  • Issue body is read via GitHub API tools — not injected as a template expression — to prevent script injection
  • Minimal permissions (issues: read, contents: read); all write operations go through safe-outputs (add-comment, update-issue)
  • lockdown: false intentionally set to allow processing issues from non-team members (standard for triage workflows)

Files

File Description
.github/workflows/issue-triage.md Agentic workflow definition
.github/workflows/issue-triage.lock.yml Compiled GitHub Actions YAML (generated via gh aw compile)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh label list (http block)
  • https://api.github.com/repos/eiriktsarpalis/PolyType/collaborators
    • Triggering command: /usr/bin/gh gh api repos/eiriktsarpalis/PolyType/collaborators (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.50.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.50.4 --jq .object.sha (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Copilot AI changed the title [WIP] Create workflow for triaging new issues Add issue triage agentic workflow Feb 26, 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.

2 participants