Skip to content

Commit 5090d28

Browse files
authored
Add options for listing workflow runs (#2735)
1 parent 8b1caac commit 5090d28

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

github/actions_workflow_runs.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,14 @@ type WorkflowRuns struct {
5555

5656
// ListWorkflowRunsOptions specifies optional parameters to ListWorkflowRuns.
5757
type ListWorkflowRunsOptions struct {
58-
Actor string `url:"actor,omitempty"`
59-
Branch string `url:"branch,omitempty"`
60-
Event string `url:"event,omitempty"`
61-
Status string `url:"status,omitempty"`
62-
Created string `url:"created,omitempty"`
63-
HeadSHA string `url:"head_sha,omitempty"`
58+
Actor string `url:"actor,omitempty"`
59+
Branch string `url:"branch,omitempty"`
60+
Event string `url:"event,omitempty"`
61+
Status string `url:"status,omitempty"`
62+
Created string `url:"created,omitempty"`
63+
HeadSHA string `url:"head_sha,omitempty"`
64+
ExcludePullRequests bool `url:"exclude_pull_requests,omitempty"`
65+
CheckSuiteID int64 `url:"check_suite_id,omitempty"`
6466
ListOptions
6567
}
6668

0 commit comments

Comments
 (0)