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

Update GitHub Pages API to add new response parameters #2109

Merged
merged 10 commits into from Dec 3, 2021

Conversation

rreichel3
Copy link
Contributor

This PR updates the GitHub Pages API structs to support the latest documented response from GitHub.

This fixes #2107

Its based upon the documentation on GitHub's public docs here and enables support for viewing a GitHub Pages' visibility and HTTPS configuration.

@google-cla google-cla bot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Sep 28, 2021
@codecov
Copy link

codecov bot commented Sep 28, 2021

Codecov Report

Merging #2109 (62a1c35) into master (b5776f9) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2109   +/-   ##
=======================================
  Coverage   97.77%   97.78%           
=======================================
  Files         111      112    +1     
  Lines        9934     9956   +22     
=======================================
+ Hits         9713     9735   +22     
  Misses        154      154           
  Partials       67       67           
Impacted Files Coverage Δ
github/repos_pages.go 97.11% <ø> (ø)
github/orgs_audit_log.go 100.00% <0.00%> (ø)
github/apps_hooks.go 100.00% <0.00%> (ø)

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 b5776f9...62a1c35. Read the comment docs.

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, @rreichel3!
Just a few changes, please, and then we should be ready for a second LGTM before merging.

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

Awaiting second LGTM before merging.

@rreichel3
Copy link
Contributor Author

👋 @wesleimp Just wanted to bump this!

Copy link
Contributor

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

lgtm
thanks for this addition

@gmlewis
Copy link
Collaborator

gmlewis commented Dec 3, 2021

Thank you, @cpanato !
Merging.

@gmlewis gmlewis merged commit f262aa1 into google:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indication that the PR author has signed a Google Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub Pages Response Out of Date
3 participants