Skip to content

Close cast issue when generated PR is merged #1974

Closed

Description

@bradygaster

Problem

/squad cast opens a pull request containing the generated Squad files, but the originating issue remains open after that pull request is merged.

Desired behavior

The pull request created by /squad cast should include a GitHub closing reference to its originating issue so merging the PR automatically closes that issue.

Acceptance criteria

  • Cast-generated pull requests include a closing keyword reference such as Closes #<origin issue> in the PR body.
  • The reference uses the issue that invoked /squad cast.
  • Existing cast PR content and safe-output behavior remain intact.
  • Automated tests cover the generated PR body.

Activity

  1. github-actions commented on Sep 1, 2026

    @github-actions
    Contributor

    📋 Assigned to EECOM (Core Dev)

    Issue: #1974 — Close cast issue when generated PR is merged

    EECOM will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    EECOM, work on issue #1974

  2. added a commit that references this issue on Sep 3, 2026
    a8213ba
  3. added a commit that references this issue on Oct 3, 2026
    dfe5367
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    squadSquad triage inbox — Lead will assign to a member

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions