Skip to content

Add roles: read guidance for issue triage workflows in create-agentic-workflow#10153

Merged
pelikhan merged 4 commits intomainfrom
copilot/update-workflow-prompt-roles
Jan 16, 2026
Merged

Add roles: read guidance for issue triage workflows in create-agentic-workflow#10153
pelikhan merged 4 commits intomainfrom
copilot/update-workflow-prompt-roles

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

The create-agentic-workflow agent now suggests roles: read when users build issue triage workflows, enabling non-team members to file issues that trigger the workflow.

Changes

Updated .github/aw/create-agentic-workflow.md with guidance in four locations:

  • Interactive clarification section: Added bullet suggesting roles: read for issue triage responding to non-team member issues
  • Design specification section: Added step explaining repository access roles (default [admin, maintainer, write] vs read for community access)
  • Example workflow: Added roles: read with inline comment in YAML example
  • Documentation note: Explained role setting enables community-facing issue triage

Example

---
description: Automated issue triage workflow
on:
  issues:
    types: [opened, edited]
roles: read  # Allow any authenticated user to trigger (important for issue triage)
permissions:
  contents: read
  issues: read
tools:
  github:
    toolsets: [default]
safe-outputs:
  add-comment:
    max: 1
---

The default roles: [admin, maintainer, write] restricts workflow triggers to team members only, which blocks community contributions in public repositories.

Original prompt

Update the create-agentic-workflow prompt to suggest setting roles: read if the user is building a "issue triage" so that non-team members can file issues.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 16, 2026 00:08
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update create-agentic-workflow prompt for issue triage Add roles: read guidance for issue triage workflows in create-agentic-workflow Jan 16, 2026
Copilot AI requested a review from pelikhan January 16, 2026 00:18
@pelikhan pelikhan marked this pull request as ready for review January 16, 2026 00:24
@pelikhan pelikhan merged commit 6d99a06 into main Jan 16, 2026
@pelikhan pelikhan deleted the copilot/update-workflow-prompt-roles branch January 16, 2026 00:24
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