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

Support users and teams in branch protection access restrictions #2561

Merged
merged 5 commits into from
Jan 18, 2023

Conversation

jporzucek
Copy link
Contributor

Fixes #2560

It also adds a ListAppRestrictions wrapper around ListApp so naming conventions with ListUserRestrictions and ListTeamRestrictions methods is preserved.

@codecov
Copy link

codecov bot commented Nov 7, 2022

Codecov Report

Merging #2561 (09e4fd0) into master (ced4abd) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2561      +/-   ##
==========================================
+ Coverage   98.03%   98.05%   +0.01%     
==========================================
  Files         130      130              
  Lines       11144    11242      +98     
==========================================
+ Hits        10925    11023      +98     
  Misses        150      150              
  Partials       69       69              
Impacted Files Coverage Δ
github/repos.go 98.84% <100.00%> (+0.16%) ⬆️

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, @jporzucek !

github/repos.go Outdated Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
github/repos.go Outdated Show resolved Hide resolved
@jporzucek
Copy link
Contributor Author

jporzucek commented Jan 13, 2023

Hi @gmlewis! Sorry but it wasn't until now when I had time to come back to this issue. 😞

I've addressed your review changes plus went through some other endpoints to make sure they comply with official docs naming.

@jporzucek jporzucek reopened this Jan 13, 2023
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.

Thanks, @jporzucek .

github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
github/repos.go Show resolved Hide resolved
@jporzucek
Copy link
Contributor Author

Should be good to go now! 🚀

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Jan 16, 2023
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, @jporzucek !
LGTM.

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

Copy link
Contributor

@valbeat valbeat left a comment

Choose a reason for hiding this comment

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

LGTM!

@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Jan 18, 2023
@gmlewis
Copy link
Collaborator

gmlewis commented Jan 18, 2023

Thank you, @valbeat !
Merging.

@gmlewis gmlewis merged commit d7134b7 into google:master Jan 18, 2023
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.

Support users and teams in branch protection access restrictions
3 participants