Skip to content

[copilot] Restore workflow_dispatch trigger for Copilot coding agent#356

Merged
jonathanpeppers merged 1 commit intomainfrom
jonathanpeppers/fix-copilot-setup-steps
May 6, 2026
Merged

[copilot] Restore workflow_dispatch trigger for Copilot coding agent#356
jonathanpeppers merged 1 commit intomainfrom
jonathanpeppers/fix-copilot-setup-steps

Conversation

@jonathanpeppers
Copy link
Copy Markdown
Member

The copilot-setup-steps.yml was introduced in #307 with on: pull_request (CI validation only) and has never had on: workflow_dispatch. This means the Copilot coding agent has no setup steps when assigned to issues -- it won't have .NET or gh-aw available.

This restores the standard on: workflow_dispatch trigger so the Copilot coding agent gets the right build environment.

Copilot AI review requested due to automatic review settings May 5, 2026 17:36
@jonathanpeppers jonathanpeppers force-pushed the jonathanpeppers/fix-copilot-setup-steps branch from 3f67abf to 8f0e1c9 Compare May 5, 2026 17:37
The copilot-setup-steps.yml has always used `on: pull_request` with a
paths filter, meaning the Copilot coding agent never had proper setup
steps. Restore the `on: workflow_dispatch` trigger so the agent gets
the right build environment when assigned to issues.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers jonathanpeppers force-pushed the jonathanpeppers/fix-copilot-setup-steps branch from 8f0e1c9 to 7411221 Compare May 5, 2026 17:38
@jonathanpeppers jonathanpeppers added the ready-to-review This PR is ready to review/merge. label May 5, 2026
Copy link
Copy Markdown
Contributor

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

Restores the GitHub Actions trigger needed for the Copilot coding agent to run the repository’s setup workflow when invoked manually (e.g., when the agent is used outside PR validation).

Changes:

  • Renamed the workflow display name.
  • Switched the workflow trigger to workflow_dispatch (manual invocation).
  • Removed the previous pull_request path-filtered CI trigger and the explicit permissions block.

Comment thread .github/workflows/copilot-setup-steps.yml
Comment thread .github/workflows/copilot-setup-steps.yml
Copy link
Copy Markdown
Contributor

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

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

@jonathanpeppers jonathanpeppers merged commit 7d0e083 into main May 6, 2026
7 checks passed
@jonathanpeppers jonathanpeppers deleted the jonathanpeppers/fix-copilot-setup-steps branch May 6, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-review This PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants