Add --create repository bootstrap flow to add and add-wizard#45831
--create repository bootstrap flow to add and add-wizard#45831Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
--create repository bootstrap flow to add and add-wizard
🤖 PR Triage
Score breakdown: Impact 22 + Urgency 10 + Quality 10 Adds Run §29462479491
|
|
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot when calling init, enable codespace flag to generate devcontainer file too |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
… case Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Implemented in commits 08c2d75 and 30a8e16. The
The prompt in add-wizard validates:
Owner inference uses Examples updated in both |
|
@copilot please run the Unresolved review threads:
|
…ter test Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
|
@copilot please run the Failed checks
|
Update tests to use firewall version 0.27.35 and remove expectations for images that no longer have embedded pins (build-tools, agent-act). Also fix formatting and update actionpins test to use node:lts-alpine. Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Update action pin tests to use current versions: - setup-node: v6.x -> v7.x - setup-go: v6.5.0 -> v7.0.0 - gh-aw-mcpg: v0.3.6/v0.3.9 -> v0.4.1 All tests now pass after the package update that removed old versions. Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
All failing checks have been addressed. Fixed test failures caused by the package update (401db81) that removed old embedded pins: Test failures fixed:
All affected test suites now pass: |
|
@copilot merge main recompile fix conflicts |
Resolved test conflicts by accepting main's dynamic test approach that derives expected values from embedded data rather than hardcoding versions. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in 21308ed. Merged main, resolved test conflicts by accepting main's dynamic test approach, and recompiled all 257 workflows successfully.
Done in 21308ed. Merged main, resolved test conflicts by accepting main's dynamic test approach, and recompiled all 257 workflows successfully. Note: The
All add/create-related tests pass successfully. |
The |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot please run the Unresolved review threads:
Please close out the remaining review threads and confirm the branch is current with main.
|
gh aw addandgh aw add-wizardcould install workflows into an existing checkout, but not create the target repository as part of the flow. This change brings repository creation into both commands by reusing the existing bootstrap/setup path instead of introducing a parallel implementation.CLI surface
--create OWNER/REPO--visibility {private|public|internal}--require-owner-type {any|org|user}Shared create/clone orchestration
add_create.gohelper that:bootstrapsemantics and avoids duplicating repo setup logic.addintegrationaddnow resolves workflows as before, then runs installation inside the prepared target checkout when--createis set.add-wizardintegrationadd-wizardcan now provision the target repo before entering the existing interactive install / PR flow.Fresh-repo behavior
--add-readme, ensuring the new repo has an initial branch so downstream add-wizard / PR flows do not start from an unborn repository state.Coverage
addandadd-wizardExample: