-
Notifications
You must be signed in to change notification settings - Fork 504
Fix add-wizard existing Copilot token flow #55438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
835bb4a
Fix add-wizard existing Copilot token flow
dsyme 12408d9
Merge branch 'main' into fix/add-wizard-existing-copilot-token
github-actions[bot] 1355eb0
Improve add workflow setup flow
dsyme 3f7675b
Plan review-feedback follow-up
Copilot 37c58e4
Respect organization secret visibility
Copilot 9d306b5
Add animated add-wizard welcome
dsyme 18cf80b
Remove add-wizard ASCII logo
dsyme f5e674e
Polish add-wizard decision display
dsyme 72886b0
improve add-wizard
dsyme b88f1e8
improve add-wizard
dsyme a268f48
Clarify Copilot authentication prompt
dsyme f3274d4
improve add-wizard
dsyme 843af0c
Show add-wizard pull request progress
dsyme 2fc09ec
Improve add workflow pull request descriptions
dsyme 3c1ed13
Centralize interactive prompt spacing
dsyme 2443eed
improve add-wizard
dsyme 5f95160
Polish add-wizard workflow handoff
dsyme 11ba484
Merge branch 'main' into fix/add-wizard-existing-copilot-token
dsyme 0687eb4
Fix add-wizard Go lint findings
dsyme a5ccc64
Address add-wizard review feedback
Copilot f84f90a
Clarify PR path fallback logging
Copilot def00ce
code review
dsyme eec114e
Merge branch 'fix/add-wizard-existing-copilot-token' of https://githu…
dsyme File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| package cli | ||
|
|
||
| import ( | ||
| "context" | ||
| "fmt" | ||
|
|
||
| "github.com/github/gh-aw/pkg/workflow" | ||
| ) | ||
|
|
||
| func resolveAddGhAwRef(ctx context.Context, ref string) (string, error) { | ||
| if ref == "" { | ||
| return "", nil | ||
| } | ||
| resolvedRef, err := workflow.ResolveGhAwRef(ctx, ref) | ||
| if err != nil { | ||
| return "", fmt.Errorf("--gh-aw-ref: %w", err) | ||
| } | ||
| return resolvedRef, nil | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.