Skip to content

Commit

Permalink
Merge pull request #1400 from rsteube/gh-missing-json-fields
Browse files Browse the repository at this point in the history
gh: added missing json fields
  • Loading branch information
rsteube authored Nov 3, 2022
2 parents 3a7917c + ad9e355 commit 5851870
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions completers/gh_completer/cmd/action/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func ActionRunFields() carapace.Action {
"status",
"conclusion",
"event",
"number",
"databaseId",
"workflowDatabaseId",
"workflowName",
Expand Down
5 changes: 4 additions & 1 deletion completers/gh_completer/cmd/run_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ func init() {
}
return carapace.ActionValues()
}),
"json": action.ActionRunFields(),
"json": carapace.Batch(
action.ActionRunFields(),
carapace.ActionValues("jobs"),
).ToA(),
})

carapace.Gen(run_viewCmd).PositionalCompletion(
Expand Down

0 comments on commit 5851870

Please sign in to comment.