mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 12:26:18 +00:00
Mark existing BranchProtection classes/properties and RepositoriesClient.EditBranch() method obsolete, due to breaking changes in the API preview period
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Octokit
|
||||
/// Note: this is a PREVIEW api: https://developer.github.com/changes/2015-11-11-protected-branches-api/
|
||||
/// </summary>
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
[Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.")]
|
||||
public class BranchProtection
|
||||
{
|
||||
public BranchProtection() { }
|
||||
@@ -42,6 +43,7 @@ namespace Octokit
|
||||
}
|
||||
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
[Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.")]
|
||||
public class RequiredStatusChecks
|
||||
{
|
||||
public RequiredStatusChecks() { }
|
||||
@@ -74,6 +76,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// The enforcement levels that are available
|
||||
/// </summary>
|
||||
[Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.")]
|
||||
public enum EnforcementLevel
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user