Skip to content

fix: Add ProtectionURL field to Repositories.ListBranches response - #3618

Merged
gmlewis merged 1 commit into
google:masterfrom
TheResplandor:resplandor-get_protection_url_with_list_branches
Jul 2, 2025
Merged

fix: Add ProtectionURL field to Repositories.ListBranches response#3618
gmlewis merged 1 commit into
google:masterfrom
TheResplandor:resplandor-get_protection_url_with_list_branches

Conversation

@TheResplandor

Copy link
Copy Markdown
Contributor

fixes#3617

Finished the steps listed in CONTRIBUTING.md

Included a GetProtectionURL method and test.
@gmlewisgmlewis changed the title fix Client.Repositories.ListBranches missing the protection_URL fieldfix: Add ProtectionURL field to Repositories.ListBranches responseJul 2, 2025
@codecov

codecovBot commented Jul 2, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.33%. Comparing base (eff2bbd) to head (6760a5c).
Report is 2 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@## master #3618 +/- ##
=======================================
Coverage 91.33% 91.33% =======================================
Files 184 184 Lines 16169 16169 =======================================
Hits 14768 14768 Misses 1227 1227 Partials 174 174 

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@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, @TheResplandor!
LGTM.
Merging.

@gmlewis
gmlewis merged commit bf1d280 into google:masterJul 2, 2025
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.

the rest-API call ListBranches does not grab the protection_url field of branches

2 participants

@TheResplandor@gmlewis