Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options for listing workflow runs #2735

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

kanata2
Copy link
Contributor

@kanata2 kanata2 commented Apr 3, 2023

Description

I add some options for ListRepositoryWorkflowRuns.
In particular, exclude_pull_requests is very useful, as mentioned in the gh command implementation. (https://github.com/cli/cli/blob/trunk/pkg/cmd/run/shared/shared.go#L338)

Document: https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-repository

@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #2735 (de6096d) into master (b1c53f8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2735   +/-   ##
=======================================
  Coverage   98.03%   98.03%           
=======================================
  Files         131      131           
  Lines       11505    11505           
=======================================
  Hits        11279    11279           
  Misses        154      154           
  Partials       72       72           
Impacted Files Coverage Δ
github/actions_workflow_runs.go 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @kanata2 !
LGTM.
Merging.

@gmlewis gmlewis merged commit 5090d28 into google:master Apr 4, 2023
@kanata2 kanata2 deleted the list-workflow-runs-opts branch April 5, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants