Skip to content

feat(cli): add opt-in Copilot setup workflow for create#1683

Open
jong-kyung wants to merge 2 commits into
voidzero-dev:mainfrom
jong-kyung:feat/copilot-setup-workflow
Open

feat(cli): add opt-in Copilot setup workflow for create#1683
jong-kyung wants to merge 2 commits into
voidzero-dev:mainfrom
jong-kyung:feat/copilot-setup-workflow

Conversation

@jong-kyung
Copy link
Copy Markdown
Collaborator

Summary

Adds opt-in GitHub Copilot Coding Agent setup during vp create.
When users explicitly select Copilot via --agent copilot, generated projects now include .github/workflows/copilot-setup-steps.yml so Copilot can set up Vite+ and run vp directly.

Changes

  • Add Copilot setup workflow generation for explicit Copilot agent selection
  • Keep default scaffolds clean
    • no workflow for default vp create
    • no workflow for --no-agent
    • no workflow for non-Copilot agents
  • Preserve existing workflow files without overwriting them
  • Refactor agent selection metadata to return selected supported agent definitions
  • Add snap coverage for default, non-Copilot, no-agent, and Copilot create flows

closes #1336

@netlify
Copy link
Copy Markdown

netlify Bot commented May 26, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit cda3b95
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a1571026c63a40008e2f64b

@jong-kyung
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jong-kyung jong-kyung marked this pull request as ready for review May 26, 2026 07:42
@jong-kyung jong-kyung self-assigned this May 26, 2026
@jong-kyung jong-kyung requested a review from fengmk2 May 26, 2026 07:43
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: create-e2e Run `vp create` e2e tests labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider scaffolding Copilot Setup Steps (.github/workflows/copilot-setup-steps.yml)

2 participants