Skip to content

Update ListCheckRunsOptions with new field AppID - #2236

Merged
gmlewis merged 4 commits into
google:masterfrom
rojanDinc:fix/2231/update-list-check-runs-options
Jan 2, 2022
Merged

Update ListCheckRunsOptions with new field AppID#2236
gmlewis merged 4 commits into
google:masterfrom
rojanDinc:fix/2231/update-list-check-runs-options

Conversation

@rojanDinc

Copy link
Copy Markdown
Contributor

@codecov

codecovBot commented Dec 23, 2021

Copy link
Copy Markdown

Codecov Report

Merging #2236 (1fecc18) into master (1d9884e) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@## master #2236 +/- ##
==========================================
+ Coverage 97.79% 97.80% +0.01% 
==========================================
Files 113 113 Lines 10156 10205 +49 ==========================================
+ Hits 9932 9981 +49 
Misses 156 156 Partials 68 68 
Impacted FilesCoverage Δ
github/checks.go100.00% <ø> (ø)
github/actions_workflow_runs.go100.00% <0.00%> (ø)
github/teams.go98.14% <0.00%> (+0.20%)⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d9884e...1fecc18. Read the comment docs.

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @rojanDinc!
Just one change, please, then we should be ready for a second LGTM before merging.

Note that any other contributor to this repo is welcome to provide the second LGTM/approval after reviewing.

Comment threadgithub/checks.go Outdated
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @rojanDinc !
LGTM.
Merging after tests pass.

@gmlewis

Copy link
Copy Markdown
Collaborator

It looks like the tests failed. Please make sure to run go generate ./... and push the results.
Also make sure your code is run through go fmt to make the linter happy.
See CONTRIBUTING.md for more info.

@rojanDinc

Copy link
Copy Markdown
ContributorAuthor

Hi, I forgot to run tests locally once I changed AppIDs type to int64 but that problem should be resolved now.

Comment threadgithub/checks.go Outdated
CheckName *string `url:"check_name,omitempty"` // Returns check runs with the specified name.
Status *string `url:"status,omitempty"` // Returns check runs with the specified status. Can be one of "queued", "in_progress", or "completed".
Filter *string `url:"filter,omitempty"` // Filters check runs by their completed_at timestamp. Can be one of "latest" (returning the most recent check runs) or "all". Default: "latest"
AppID *int64 `url:"app_id,omitempty"` // Filters check runs by GitHub App ID.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please run gofmt on this file and push the changes.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

My bad. I've formatted the code hopefully everything is in place now.

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @rojanDinc !
LGTM.
Merging.

@gmlewis
gmlewis merged commit 504516e into google:masterJan 2, 2022
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for freeto 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

@rojanDinc@gmlewis