-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Added support for making branches read-only #2715
Merged
+101
−51
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
d152519
Added support for making branches read-only
jefflill 61fba35
nuget: publishes as: Neon.Octokit
jefflill ff83eac
OctoKit.csproj: restored original file. Will publish temporary nuget…
jefflill 8854ccf
Change to branch protection settings is not breaking any more
jefflill File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Description>An async-based GitHub API client library for .NET and .NET Core</Description> | ||
<AssemblyTitle>Octokit</AssemblyTitle> | ||
<Authors>GitHub</Authors> | ||
<Version>0.0.0-dev</Version> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<AssemblyName>Octokit</AssemblyName> | ||
<PackageId>Octokit</PackageId> | ||
<DebugType>embedded</DebugType> | ||
<RepositoryUrl>https://github.com/octokit/octokit.net</RepositoryUrl> | ||
<PackageProjectUrl>https://github.com/octokit/octokit.net</PackageProjectUrl> | ||
<PackageIconUrl>https://f.cloud.github.com/assets/19977/1510987/64af2b26-4a9d-11e3-89fc-96a185171c75.png</PackageIconUrl> | ||
<PackageIcon>octokit.png</PackageIcon> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageTags>GitHub API Octokit linqpad-samples dotnetcore</PackageTags> | ||
<Copyright>Copyright GitHub 2017</Copyright> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<Description>An async-based GitHub API client library for .NET and .NET Core</Description> | ||
<AssemblyTitle>Octokit</AssemblyTitle> | ||
<Authors>GitHub</Authors> | ||
<Version>0.0.0-dev</Version> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<AssemblyName>Octokit</AssemblyName> | ||
<PackageId>Octokit</PackageId> | ||
<DebugType>embedded</DebugType> | ||
<RepositoryUrl>https://github.com/octokit/octokit.net</RepositoryUrl> | ||
<PackageProjectUrl>https://github.com/octokit/octokit.net</PackageProjectUrl> | ||
<PackageIconUrl>https://f.cloud.github.com/assets/19977/1510987/64af2b26-4a9d-11e3-89fc-96a185171c75.png</PackageIconUrl> | ||
<PackageIcon>octokit.png</PackageIcon> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageTags>GitHub API Octokit linqpad-samples dotnetcore</PackageTags> | ||
<Copyright>Copyright GitHub 2017</Copyright> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<DefineConstants>$(DefineConstants);SIMPLE_JSON_INTERNAL;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_READONLY_COLLECTIONS;SIMPLE_JSON_TYPEINFO</DefineConstants> | ||
<NoWarn>$(NoWarn);1591;1701;1702;1705</NoWarn> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<DefineConstants>$(DefineConstants);SIMPLE_JSON_INTERNAL;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_READONLY_COLLECTIONS;SIMPLE_JSON_TYPEINFO</DefineConstants> | ||
<NoWarn>$(NoWarn);1591;1701;1702;1705</NoWarn> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Label="Source Link"> | ||
<!-- Optional: Declare that the Repository URL can be published to NuSpec --> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB --> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<!-- Optional: Include PDB in the built .nupkg --> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Source Link"> | ||
<!-- Optional: Declare that the Repository URL can be published to NuSpec --> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB --> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<!-- Optional: Include PDB in the built .nupkg --> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="images\octokit.png" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="images\octokit.png" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Label="InternalsVisibleTo attributes"> | ||
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> | ||
<_Parameter1>Octokit.Tests$(StrongNameSuffix)</_Parameter1> | ||
</AssemblyAttribute> | ||
</ItemGroup> | ||
<ItemGroup Label="InternalsVisibleTo attributes"> | ||
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> | ||
<_Parameter1>Octokit.Tests$(StrongNameSuffix)</_Parameter1> | ||
</AssemblyAttribute> | ||
</ItemGroup> | ||
</Project> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Hey @jefflill, Thanks for this change! ❤️ . We use spaces in this project - they need to be updated in this file. Would you mind either:
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.
@jefflill, Just a gentle bump on this. Let me know if either option above works for you. Thanks again for your contributions!