![]() |
VOOZH | about |
dotnet add package GitHub.Actions.Octokit --version 9.0.0
NuGet\Install-Package GitHub.Actions.Octokit -Version 9.0.0
<PackageReference Include="GitHub.Actions.Octokit" Version="9.0.0" />
<PackageVersion Include="GitHub.Actions.Octokit" Version="9.0.0" />Directory.Packages.props
<PackageReference Include="GitHub.Actions.Octokit" />Project file
paket add GitHub.Actions.Octokit --version 9.0.0
#r "nuget: GitHub.Actions.Octokit, 9.0.0"
#:package GitHub.Actions.Octokit@9.0.0
#addin nuget:?package=GitHub.Actions.Octokit&version=9.0.0Install as a Cake Addin
#tool nuget:?package=GitHub.Actions.Octokit&version=9.0.0Install as a Cake Tool
GitHub.Actions.Octokit packageTo 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.OctokitThis 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.
GitHubClient instanceTo 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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.1-alpha.0.5 | 412 | 12/11/2025 |
| 9.0.0 | 2,134 | 12/20/2024 |
| 8.1.1 | 42,032 | 9/20/2024 |
| 8.1.0 | 3,129 | 8/3/2024 |
| 8.0.16 | 3,421 | 6/11/2024 |
| 8.0.15 | 1,516 | 5/7/2024 |
| 8.0.14 | 319 | 4/30/2024 |
| 8.0.13 | 1,717 | 4/8/2024 |
| 8.0.12 | 362 | 3/6/2024 |
| 8.0.11 | 424 | 2/2/2024 |
| 8.0.10 | 286 | 1/31/2024 |
| 8.0.9 | 280 | 1/29/2024 |
| 8.0.8 | 276 | 1/27/2024 |
| 8.0.7 | 285 | 1/25/2024 |
| 8.0.4 | 298 | 1/23/2024 |
| 8.0.3 | 7,952 | 11/26/2023 |
| 8.0.2 | 251 | 11/26/2023 |
| 8.0.1 | 274 | 11/22/2023 |