core-test/src/core/IGitHubEnvironmentContext.cs
2026-02-12 21:52:52 +01:00

22 lines
No EOL
569 B
C#

// 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; }
}