Skip to content

Commit

Permalink
expose run_attempt when getting workflow runs
Browse files Browse the repository at this point in the history
  • Loading branch information
cawfeecake committed Apr 1, 2024
1 parent 90b7bf9 commit ed5690c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/run/shared/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ var RunFields = []string{
"createdAt",
"updatedAt",
"startedAt",
"attempt",
"status",
"conclusion",
"event",
Expand All @@ -97,7 +98,7 @@ type Run struct {
workflowName string // cache column
WorkflowID int64 `json:"workflow_id"`
Number int64 `json:"run_number"`
Attempts uint64 `json:"run_attempt"`
Attempt uint64 `json:"run_attempt"`
HeadBranch string `json:"head_branch"`
JobsURL string `json:"jobs_url"`
HeadCommit Commit `json:"head_commit"`
Expand Down

0 comments on commit ed5690c

Please sign in to comment.