Skip to content

Feature: support assignees on create-pull-request for protected-files: fallback-to-issue #24905

Closed

Description

@seangibeault

Problem

When safe-outputs.create-pull-request is configured with protected-files: fallback-to-issue, the system automatically creates a fallback issue. However, the fallback issue is created by the safe-outputs system (not by the agent), so the separate safe-outputs.create-issue.assignees config is bypassed entirely. The create-pull-request config also does not support an assignees field, leaving no way to auto-assign the fallback issue.

Current Behavior

  • safe-outputs.create-pull-request supports reviewers but not assignees
  • When protected-files: fallback-to-issue triggers, the auto-created issue inherits no assignees
  • The safe-outputs.create-issue.assignees config is not consulted for the fallback path

Expected Behavior

Either:

  1. Add an assignees field to safe-outputs.create-pull-request that is applied to the fallback issue when protected-files: fallback-to-issue triggers, or
  2. Have the fallback issue creation consult safe-outputs.create-issue.assignees automatically

Example Config

safe-outputs:
  create-pull-request:
    protected-files: fallback-to-issue
    title-prefix: "[ci-coach] "
    reviewers: [mcg]
    assignees: [mcg]   # ← currently rejected by compiler
  create-issue:
    title-prefix: "[ci-coach] "
    assignees: [mcg]   # ← not used for fallback issues

Workaround

None currently available. Users must manually assign fallback issues after the fact.

Activity

  1. seangibeault commented on Apr 6, 2026

    @seangibeault
    Author

    Hey guys I asked the agentic-workflows agent why this functionality wasn't working and it suggested creating an issue for the repo, so here it is. The agent generated it so feel free to close if this is a mistake, seems like it could be an edge case that was missed.

  2. locked and limited conversation to collaborators on Apr 6, 2026
  3. unlocked this conversation on Apr 6, 2026
  4. locked and limited conversation to collaborators on Apr 6, 2026
  5. unlocked this conversation on Apr 6, 2026
  6. pelikhan commented on Apr 6, 2026

    @pelikhan
    Collaborator

    That's exactly what we want: investigate your big/scenario with an agent and publish a issue-as-spec that we can convert to code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions