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

Allow an empty array of repo ids as a request parameter #3155

Merged
merged 10 commits into from Apr 29, 2024

Conversation

Matthew-Reidy
Copy link
Contributor

@Matthew-Reidy Matthew-Reidy commented Apr 26, 2024

Fixes: #3106.

Add extra endpoint function that allows client to pass an empty array of repository ids to the installations/<install_id>/access_tokens endpoint as a parameter. Response lists all repositories in an installation.

Copy link

codecov bot commented Apr 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.89%. Comparing base (2b8c7fa) to head (6f4c7c1).
Report is 44 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3155      +/-   ##
==========================================
- Coverage   97.72%   92.89%   -4.84%     
==========================================
  Files         153      170      +17     
  Lines       13390    11436    -1954     
==========================================
- Hits        13085    10623    -2462     
- Misses        215      723     +508     
  Partials       90       90              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Matthew-Reidy Matthew-Reidy changed the title issue3106 - Allow an empty array of repo ids as a request parameter Allow an empty array of repo ids as a request parameter Apr 26, 2024
github/apps.go Outdated Show resolved Hide resolved
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, @Matthew-Reidy !
One tiny nit so we have complete sentences in our godocs, otherwise LGTM.

github/apps.go Outdated Show resolved Hide resolved
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, @Matthew-Reidy !
LGTM.

Awaiting second LGTM+Approval from any other contributor to this repo before merging.

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Apr 29, 2024
@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Apr 29, 2024
@gmlewis
Copy link
Collaborator

gmlewis commented Apr 29, 2024

Thank you, @be0x74a !
Merging.

@gmlewis gmlewis merged commit 108f958 into google:master Apr 29, 2024
6 of 7 checks passed
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.

omitempty tag on InstallationAccessTokenOptions.Repositories masking functionality of GitHub API
3 participants