Class GitHubScopeChecker
Checks and ensures required GitHub OAuth scopes are available before build execution.
public class GitHubScopeChecker
- Inheritance
-
GitHubScopeChecker
- Inherited Members
Constructors
GitHubScopeChecker(IBuildLogger)
public GitHubScopeChecker(IBuildLogger logger)
Parameters
loggerIBuildLogger
Methods
EnsureRequiredScopesAsync(IStepRegistry)
Checks if the registered steps require GitHub scopes and verifies they're available. If scopes are missing, prompts the user to re-authenticate.
public Task<bool> EnsureRequiredScopesAsync(IStepRegistry registry)
Parameters
registryIStepRegistryThe step registry containing registered build steps.