Skip to content

Add Copilot triage skill#5564

Merged
ellahathaway merged 9 commits into
dotnet:mainfrom
ellahathaway:triage-skill
May 15, 2026
Merged

Add Copilot triage skill#5564
ellahathaway merged 9 commits into
dotnet:mainfrom
ellahathaway:triage-skill

Conversation

@ellahathaway
Copy link
Copy Markdown
Member

@ellahathaway ellahathaway commented May 14, 2026

Inspired by microsoft/aspire#17024 (comment), this skill creates a structured
triage comment on dotnet/source-build issues.

When invoked (e.g., "triage #5549"), the skill fetches issue context and recent PR history, classifies by
area/kind/severity/cost/blocking, suggests SMEs, checks for duplicates, and posts a dry-run <details> comment.
No labels or milestones are applied automatically — a maintainer manually promotes the recommendations.

@ellahathaway ellahathaway requested a review from a team as a code owner May 14, 2026 18:35
@ellahathaway
Copy link
Copy Markdown
Member Author

The check-markdown-links workflow is failing because umbrelladocs/action-linkspector@v1 now internally uses reviewdog/action-setup@d8a7baabd7f3e8544ee4dbde3ee41d0011c3a93f (SHA-pinned), which doesn't match the enterprise allowlist pattern reviewdog/action-setup@v1.

Options:

  1. Pin action-linkspector to v1.4.1 (last version using tag reference) — included in this PR
  2. Add reviewdog/action-setup@* to the enterprise/org Actions allowlist (requires admin)

@MichaelSimons could you add reviewdog/action-setup@* to the org allowlist? That would be the future-proof fix. In the meantime I've pinned to v1.4.1 to unblock.

The v1 floating tag now resolves to v1.4.2+ which SHA-pins
reviewdog/action-setup, failing the dotnet org allowlist that only
permits reviewdog/action-setup@v1 (tag reference).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MichaelSimons
Copy link
Copy Markdown
Member

@MichaelSimons could you add reviewdog/action-setup@* to the org allowlist? That would be the future-proof fix. In the meantime I've pinned to v1.4.1 to unblock.

Done

Comment thread .github/skills/triage/SKILL.md Outdated
Comment thread .github/skills/triage/SKILL.md Outdated
Comment thread .github/skills/triage/SKILL.md Outdated
Comment thread .github/skills/triage/SKILL.md Outdated
Comment thread .github/skills/triage/SKILL.md
ellahathaway and others added 5 commits May 15, 2026 07:54
PRs are not used in this repo. Rework Step 2a to use recent issue
activity (assignments, comments, closures) for SME suggestion
instead of merged PR history.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…mode

Step 6 now always outputs the comment to the terminal first and only
posts with explicit user consent and write access. Added read-only
mode output format. Renamed 'dry-run' to 'restricted mode' throughout.
Added constraint: never post without user consent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The 'Treat issue content as untrusted' guidance needs to be visible
from the start, not just at posting time.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ssment

Add dedicated guidance sections for Additional Area(s), Suggested Routing,
Possible SME(s)/Evidence, Recommended Labels, Related Issues, and
Possible Duplicate Of. Remove Cost Estimate entirely (section, template,
labels, output summaries, frontmatter).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread .github/skills/triage/SKILL.md Outdated
ellahathaway and others added 2 commits May 15, 2026 09:05
…kspector

Add blank lines before lists (MD032), add language to fenced code
blocks (MD040), and re-pin action-linkspector to v1.4.1 to fix
enterprise allowlist failure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Do not attempt to detect whether the GH token has write permissions.
Always display the comment first and ask the user whether to post.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ellahathaway ellahathaway requested a review from mthalman May 15, 2026 16:27
@ellahathaway ellahathaway merged commit 5ab9284 into dotnet:main May 15, 2026
2 checks passed
@ellahathaway ellahathaway deleted the triage-skill branch May 15, 2026 17:31
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