This commit is contained in:
Louis Seubert 2026-02-12 21:18:29 +01:00
commit f1d7d6accc
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
33 changed files with 1676 additions and 0 deletions

View file

@ -0,0 +1,22 @@
// Copyright (c) The Geekeey Authors
// SPDX-License-Identifier: EUPL-1.2
namespace Geekeey.Core;
/// <summary>
/// Provides access to GitHub Actions environment context.
/// </summary>
public interface IGitHubEnvironmentContext
{
/// <summary>
/// Gets the base reference for pull requests.
/// Corresponds to the GITHUB_BASE_REF environment variable.
/// </summary>
string? BaseRef { get; }
/// <summary>
/// Gets the head reference for pull requests.
/// Corresponds to the GITHUB_HEAD_REF environment variable.
/// </summary>
string? HeadRef { get; }
}