From de6096d41fbb4d6da2e7b0b75780f39a5a1489ee Mon Sep 17 00:00:00 2001 From: Naoki Kanatani Date: Tue, 4 Apr 2023 07:36:39 +0900 Subject: [PATCH] Add options for listing workflow runs --- github/actions_workflow_runs.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/github/actions_workflow_runs.go b/github/actions_workflow_runs.go index b37a9f317b1..704048774e6 100644 --- a/github/actions_workflow_runs.go +++ b/github/actions_workflow_runs.go @@ -55,12 +55,14 @@ type WorkflowRuns struct { // ListWorkflowRunsOptions specifies optional parameters to ListWorkflowRuns. type ListWorkflowRunsOptions struct { - Actor string `url:"actor,omitempty"` - Branch string `url:"branch,omitempty"` - Event string `url:"event,omitempty"` - Status string `url:"status,omitempty"` - Created string `url:"created,omitempty"` - HeadSHA string `url:"head_sha,omitempty"` + Actor string `url:"actor,omitempty"` + Branch string `url:"branch,omitempty"` + Event string `url:"event,omitempty"` + Status string `url:"status,omitempty"` + Created string `url:"created,omitempty"` + HeadSHA string `url:"head_sha,omitempty"` + ExcludePullRequests bool `url:"exclude_pull_requests,omitempty"` + CheckSuiteID int64 `url:"check_suite_id,omitempty"` ListOptions }