GitHub.Actions.Octokit 8.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GitHub.Actions.Octokit --version 8.1.0                
NuGet\Install-Package GitHub.Actions.Octokit -Version 8.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GitHub.Actions.Octokit" Version="8.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GitHub.Actions.Octokit --version 8.1.0                
#r "nuget: GitHub.Actions.Octokit, 8.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GitHub.Actions.Octokit as a Cake Addin
#addin nuget:?package=GitHub.Actions.Octokit&version=8.1.0

// Install GitHub.Actions.Octokit as a Cake Tool
#tool nuget:?package=GitHub.Actions.Octokit&version=8.1.0                

GitHub.Actions.Octokit package

To install the GitHub.Actions.Octokit NuGet package:

<PackageReference Include="GitHub.Actions.Octokit" Version="[Version]" />

Or use the dotnet add package .NET CLI command:

dotnet add package GitHub.Actions.Octokit

GitHub.Actions.Octokit

This was modified, but borrowed from the glob/README.md.

You can use this package to access a hydrated Octokit client with authentication and a set of useful defaults for GitHub Actions.

Get the GitHubClient instance

To use the GitHubClient in your .NET project, register the services with an IServiceCollection instance by calling AddGitHubClientServices and then your consuming code can require the GitHubClient via constructor dependency injection.

using Microsoft.Extensions.DependencyInjection;
using GitHub;
using Actions.Octokit;
using Actions.Octokit.Extensions;

using var provider = new ServiceCollection()
    .AddGitHubClientServices()
    .BuildServiceProvider();

// The client relies on the value from ${{ secrets.GITHUB_TOKEN }}
var client = provider.GetRequiredService<GitHubClient>();

// Call GitHub REST API /repos/octokit/rest.js/pulls/123
var pullRequest = client.Repos["octokit"]["rest.js"].Pulls[123].GetAsync();

Console.WriteLine(pullRequest.Title);
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.1.1 696 9/20/2024
8.1.0 2,714 8/3/2024
8.0.16 3,271 6/11/2024
8.0.15 661 5/7/2024
8.0.14 152 4/30/2024
8.0.13 1,543 4/8/2024
8.0.12 208 3/6/2024
8.0.11 269 2/2/2024
8.0.10 134 1/31/2024
8.0.9 131 1/29/2024
8.0.8 108 1/27/2024
8.0.7 113 1/25/2024
8.0.4 140 1/23/2024
8.0.3 6,097 11/26/2023
8.0.2 132 11/26/2023
8.0.1 162 11/22/2023
8.0.0 140 11/18/2023
8.0.0-rc.1.23419.4 268 9/14/2023
1.0.4-rc.1 89 9/14/2023
1.0.3-rc.1 72 9/14/2023
1.0.2-rc.1 89 9/14/2023
1.0.1-rc.1 73 9/13/2023
1.0.0-rc.1 76 9/13/2023