Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 16, 2026

The issue triage agent only triggered for users with write permissions (admin, maintainer, write), preventing automatic triage of issues opened by external contributors.

Changes

  • Added roles: all to .github/workflows/issue-triage.md frontmatter
  • Recompiled workflow, which removed the pre_activation job that enforced role restrictions

Result

The workflow now runs when anyone opens an issue, regardless of repository permissions.

Original prompt

The triage agent only runs when the person opening the issue has write permissions to the repo. We need to run it whenever an issue is opened, regardless of who does so. I think it's something like "roles": "all"

Custom agent used: debug-agentic-workflow
Debug and refine agentic workflows using gh-aw CLI tools - analyze logs, audit runs, and improve workflow performance


✨ 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 changed the title [WIP] Update triage agent to run for all issue submitters Allow issue triage workflow to run for all users Jan 16, 2026
Copilot AI requested a review from friggeri January 16, 2026 16:59
@friggeri friggeri marked this pull request as ready for review January 16, 2026 17:15
Copilot AI review requested due to automatic review settings January 16, 2026 17:16
@friggeri friggeri requested a review from a team as a code owner January 16, 2026 17:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes repository permission restrictions from the issue triage workflow, enabling it to automatically triage issues opened by external contributors without write access.

Changes:

  • Added roles: all configuration to the issue triage workflow frontmatter
  • Recompiled the workflow, automatically removing the role-checking pre-activation job

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/issue-triage.md Added roles: all to frontmatter to allow workflow execution for all users regardless of repository permissions
.github/workflows/issue-triage.lock.yml Compiled workflow with removed pre_activation job and its role-checking logic, allowing workflow to run without permission restrictions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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