You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl;dr: issue assignment and labeling are feasible with existing gh-aw safe-output patterns, but reviewer assignment is not currently wired in this repo and needs a new safe-output path (or a documented fallback).
Recommendation
Enable issue triage to assign issues + add labels first, and treat assign reviewer as a second phase with explicit security guardrails.
Findings
Issue triage currently imports only comment safe-output guidance (.github/workflows/gh-aw-issue-triage.md:12) and defines safe-outputs: without assignment/label config (.github/workflows/gh-aw-issue-triage.md:67).
The issue-triage README documents only add-comment safe output (gh-agent-workflows/issue-triage/README.md:33-35).
Trigger permissions already include write scopes needed for issue/PR metadata changes (gh-agent-workflows/issue-triage/example.yml:6-11 has issues: write and pull-requests: write).
Repository guidance includes safe-output constraints for:
I found no in-repo implementation reference for reviewer-request safe output (rg "request-pull-request-reviewer|request-reviewers|requested_reviewers" . returned no matches).
Security guidance explicitly warns that triage workflows assigning labels/assignees can be abused for privilege escalation if not gated (SECURITY.md:120-124).
Update gh-agent-workflows/issue-triage/README.md Safe Outputs section to explicitly list what is supported now vs planned (comment, labels, assignee, reviewer).
Phase 1: enable issue metadata actions
In .github/workflows/gh-aw-issue-triage.md, add safe-output entries for issue labeling and assignment (matching existing gh-aw naming/limits already tracked in scripts/gh-aw-safe-outputs-validation-rules.md).
Add corresponding fragment docs under .github/workflows/gh-aw-fragments/ so constraints are explicit (max counts, allowed targets, sanitization behavior).
Phase 2: reviewer assignment support
Add a dedicated safe-output capability for requesting PR reviewers (or confirm upstream support and wire it through here).
If not available yet, document a fallback: triage agent comments tagging intended reviewer(s) instead of direct reviewer assignment.
Security hardening before rollout
For label/assignee/reviewer actions on external-triggered workflows, gate execution by author association/trust policy per SECURITY.md:120-124.
Limit allowed labels/assignees/reviewers and per-run max operations to minimize abuse.
Validation
Run make compile and ensure workflow + trigger artifacts regenerate cleanly.
Dry-run on a test issue/PR to confirm safe-output enforcement and no unintended escalations.
Activity
github-actions commentedon Feb 26, 2026
tl;dr: issue assignment and labeling are feasible with existing gh-aw safe-output patterns, but reviewer assignment is not currently wired in this repo and needs a new safe-output path (or a documented fallback).
Recommendation
Enable issue triage to assign issues + add labels first, and treat assign reviewer as a second phase with explicit security guardrails.
Findings
.github/workflows/gh-aw-issue-triage.md:12) and definessafe-outputs:without assignment/label config (.github/workflows/gh-aw-issue-triage.md:67).add-commentsafe output (gh-agent-workflows/issue-triage/README.md:33-35).gh-agent-workflows/issue-triage/example.yml:6-11hasissues: writeandpull-requests: write)..github/workflows/gh-aw-fragments/safe-output-create-issue.md:9-10)assign-to-user/assign-to-agentand label constraints (scripts/gh-aw-safe-outputs-validation-rules.md:21-22,:28,:248).rg "request-pull-request-reviewer|request-reviewers|requested_reviewers" .returned no matches).SECURITY.md:120-124).Verification
Commands run and observed output:
Detailed Action Plan
gh-agent-workflows/issue-triage/README.mdSafe Outputs section to explicitly list what is supported now vs planned (comment, labels, assignee, reviewer)..github/workflows/gh-aw-issue-triage.md, add safe-output entries for issue labeling and assignment (matching existing gh-aw naming/limits already tracked inscripts/gh-aw-safe-outputs-validation-rules.md)..github/workflows/gh-aw-fragments/so constraints are explicit (max counts, allowed targets, sanitization behavior).SECURITY.md:120-124.make compileand ensure workflow + trigger artifacts regenerate cleanly.Related Items
.github/workflows/gh-aw-issue-triage.md:12,67gh-agent-workflows/issue-triage/README.md:33-35gh-agent-workflows/issue-triage/example.yml:6-11scripts/gh-aw-safe-outputs-validation-rules.md:21-22,28,248SECURITY.md:120-124What is this? | From workflow: Issue Triage
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.