Skip to content

[plan] Document add-label safe-output capability in create-agentic-workflow.md #29047

@github-actions

Description

@github-actions

Objective

Clarify add-label safe-output capability (or lack thereof) in .github/aw/create-agentic-workflow.md to guide Backend/QA engineers who naturally want to apply labels as workflow output.

Context

From agent persona exploration discussion #29038, there is no explicit add-label safe-output documented. Users may not know whether to use update-issue with a labels array, or if a dedicated label operation exists.

Approach

  1. Investigate what safe-output tools are available for label operations (check safeoutputs --help and existing safe-output implementations)
  2. If add-label (or equivalent) is supported: add it to the safe-outputs section with a example
  3. If label application requires update-issue with a labels array: add an explicit note showing the pattern with safeoutputs update_issue --labels
  4. Mark direct gh issue edit --add-label as an anti-pattern if not already present

Acceptance Criteria

  • The safe-outputs section clearly documents the recommended approach for applying labels
  • Includes at least one correct example showing label application
  • Anti-pattern (direct gh CLI) is noted if not already present

Generated by Plan Command for issue #discussion #29038 · ● 280.5K ·

  • expires on May 1, 2026, 5:04 AM UTC

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions