// Copyright (c) The Geekeey Authors // SPDX-License-Identifier: EUPL-1.2 namespace Geekeey.Core; /// /// Provides access to GitHub Actions environment context from environment variables. /// internal sealed class GitHubEnvironmentContext : IGitHubEnvironmentContext { public string? BaseRef => Environment.GetEnvironmentVariable("GITHUB_BASE_REF"); public string? HeadRef => Environment.GetEnvironmentVariable("GITHUB_HEAD_REF"); }