Soenneker.GitHub.Repositories.Runs
11.0.1206
Prefix Reserved
dotnet add package Soenneker.GitHub.Repositories.Runs --version 11.0.1206
NuGet\Install-Package Soenneker.GitHub.Repositories.Runs -Version 11.0.1206
<PackageReference Include="Soenneker.GitHub.Repositories.Runs" Version="11.0.1206" />
<PackageVersion Include="Soenneker.GitHub.Repositories.Runs" Version="11.0.1206" />
<PackageReference Include="Soenneker.GitHub.Repositories.Runs" />
paket add Soenneker.GitHub.Repositories.Runs --version 11.0.1206
#r "nuget: Soenneker.GitHub.Repositories.Runs, 11.0.1206"
#:package Soenneker.GitHub.Repositories.Runs@11.0.1206
#addin nuget:?package=Soenneker.GitHub.Repositories.Runs&version=11.0.1206
#tool nuget:?package=Soenneker.GitHub.Repositories.Runs&version=11.0.1206
Soenneker.GitHub.Repositories.Runs
Inspect commit statuses, check runs, and GitHub Actions workflows for failed or active CI across repositories.
Installation
dotnet add package Soenneker.GitHub.Repositories.Runs
Configuration
{
"GH": {
"Token": "github-token"
}
}
The token needs Actions and commit-status read access for every repository being inspected.
Registration
services.AddGitHubRepositoriesRunsUtilAsSingleton();
Use AddGitHubRepositoriesRunsUtilAsScoped() for a scoped consumer.
Check a commit or pull request
bool failed = await runs.HasCommitFailure(
"soenneker",
"example-repository",
commitSha,
cancellationToken);
bool pullRequestFailed = await runs.HasFailedRun(
"soenneker",
"example-repository",
pullRequest,
cancellationToken);
A run is treated as failed when its conclusion is failure, timed_out, cancelled, or action_required. Commit checks include both legacy commit statuses and the latest completed check run from each check suite.
For pull requests, HasFailedRun checks the merge commit first. If the merge commit has no CI results, it falls back to the pull request head SHA.
Scan repositories
List<WorkflowRun> failedPublishRuns =
await runs.GetLatestFailedPublishPackageRuns(
"soenneker",
cancellationToken: cancellationToken);
List<MinimalRepository> activeRepositories =
await runs.GetInProgressIncrementally(
"soenneker",
cancellationToken: cancellationToken);
The workflow scan finds the latest completed run for the named workflow file in each repository and returns it only when its conclusion is one of the failure conclusions above. Incremental variants yield failed runs as repositories are inspected. maxRepositoryPages limits the scan to pageSize × maxRepositoryPages repositories.
HasInProgressWorkflowRuns and GetInProgressIncrementally treat both queued and in-progress workflow runs as active.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.GitHub.Repositories (>= 11.0.1423)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.GitHub.Repositories.Runs:
| Package | Downloads |
|---|---|
|
Soenneker.GitHub.Repositories.PullRequests
Retrieves, reviews, rebases, and merges GitHub pull requests across repositories |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.1206 | 0 | 11/15/2026 |
| 11.0.1205 | 0 | 11/15/2026 |
| 11.0.1204 | 50 | 11/14/2026 |
| 11.0.1203 | 106 | 11/13/2026 |
| 11.0.1202 | 156 | 11/12/2026 |
| 11.0.1201 | 89 | 11/12/2026 |
| 11.0.1200 | 71 | 11/11/2026 |
| 11.0.1199 | 90 | 11/11/2026 |
| 11.0.1198 | 85 | 11/11/2026 |
| 11.0.1197 | 74 | 11/11/2026 |
| 11.0.1196 | 51 | 11/11/2026 |
| 11.0.1195 | 73 | 11/11/2026 |
| 11.0.1193 | 85 | 11/11/2026 |
| 11.0.1192 | 89 | 11/11/2026 |
| 11.0.1191 | 77 | 11/11/2026 |
| 11.0.1190 | 63 | 11/11/2026 |
| 11.0.1189 | 115 | 11/11/2026 |
| 11.0.1188 | 234 | 11/10/2026 |
| 11.0.1187 | 179 | 11/9/2026 |
| 11.0.1186 | 204 | 11/7/2026 |
Update dependency Soenneker.GitHub.Repositories to 11.0.1423 (#1953)