Skip to content

Commit 5851870

Browse files
authored
Merge pull request #1400 from rsteube/gh-missing-json-fields
gh: added missing json fields
2 parents 3a7917c + ad9e355 commit 5851870

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

completers/gh_completer/cmd/action/run.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func ActionRunFields() carapace.Action {
8484
"status",
8585
"conclusion",
8686
"event",
87+
"number",
8788
"databaseId",
8889
"workflowDatabaseId",
8990
"workflowName",

completers/gh_completer/cmd/run_view.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ func init() {
3232
}
3333
return carapace.ActionValues()
3434
}),
35-
"json": action.ActionRunFields(),
35+
"json": carapace.Batch(
36+
action.ActionRunFields(),
37+
carapace.ActionValues("jobs"),
38+
).ToA(),
3639
})
3740

3841
carapace.Gen(run_viewCmd).PositionalCompletion(

0 commit comments

Comments
 (0)