Add gh aw list command for fast workflow enumeration#11218
Merged
Conversation
- Add new list command that shows basic workflow info without GitHub status - Create list_workflows_command.go with NewListCommand and RunListWorkflows - Add comprehensive tests in list_workflows_command_test.go - Register command in main.go under Development Commands group - Fix duplicate logger declaration in compiler_safe_outputs_config.go - Command supports pattern filtering, JSON output, and label filtering Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add gh aw list as additional command
Add Jan 22, 2026
gh aw list command for fast workflow enumeration
Contributor
|
@copilot Merge main and recompile |
…ot/add-gh-aw-list-command # Conflicts: # pkg/workflow/compiler_safe_outputs_config.go
Resolved merge conflict by accepting main's logger declaration and removing conflict markers Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
pelikhan
reviewed
Jan 22, 2026
pkg/cli/list_workflows_command.go
Outdated
|
|
||
| for _, file := range mdFiles { | ||
| base := filepath.Base(file) | ||
| name := strings.TrimSuffix(base, ".md") |
Replaced manual filepath.Base + TrimSuffix with NormalizeWorkflowName helper Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
pelikhan
reviewed
Jan 22, 2026
pkg/cli/list_workflows_command.go
Outdated
| var workflows []WorkflowListItem | ||
|
|
||
| for _, file := range mdFiles { | ||
| base := filepath.Base(file) |
Replaced manual filepath.Base + NormalizeWorkflowName with extractWorkflowNameFromPath helper and removed unused filepath import Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
github-actions bot
added a commit
that referenced
this pull request
Jan 22, 2026
Add documentation for the new `gh aw list` command that was merged in PR #11218. This command provides fast workflow enumeration without querying GitHub API for workflow state. Changes: - Add gh aw list to "Most Common Commands" table - Add complete documentation section under "Monitoring" - Include usage examples and options - Clarify differences from gh aw status command Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implementation Plan for
gh aw listCommandlist_workflows_command.gowithNewListCommand()functionRunListWorkflows()function with simplified logiclist_workflows_command_test.goSummary
Successfully implemented
gh aw listcommand that:status)Merged main branch and resolved conflicts in
compiler_safe_outputs_config.go.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.