-
Notifications
You must be signed in to change notification settings - Fork 191
New GitHubRepositoryBranchProtectionRule Functions #255
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
New GitHubRepositoryBranchProtectionRule Functions #255
Conversation
a869092
to
cdc1cdb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we still have some unresolved thoughts from the previous version of this PR that we can continue here.
9e3a85b
to
794a8bb
Compare
/azp run PowerShellForGitHub-CI |
Azure Pipelines successfully started running 1 pipeline(s). |
@HowardWolosky, this is ready for the next review. |
8b329b0
to
b6bb240
Compare
/azp run PowerShellForGitHub-CI |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making this New
instead of Set
certainly simplified this substantially.
Just a couple small observations and this should be good to merge.
Thanks!
/azp run PowerShellForGitHub-CI |
Azure Pipelines successfully started running 1 pipeline(s). |
Description
This PR adds the following GitHub Branch Protection Rule functions to the
GitHubBranches
module:Get-GitHubRepositoryBranchProtectionRule
New-GitHubRepositoryBranchProtectionRule
Remove-GitHubRepositoryBranchProtectionRule
The
lukeCageAcceptHeader
was also added to theGitHubCore
module with a value ofapplication/vnd.github.luke-cage-preview+json
.Issues Fixed
None
References
GitHub REST API v3
Checklist
If desired, ensure your name is added to our Contributors list