wip
This commit is contained in:
commit
f1d7d6accc
33 changed files with 1676 additions and 0 deletions
22
src/core/IGitHubEnvironmentContext.cs
Normal file
22
src/core/IGitHubEnvironmentContext.cs
Normal 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; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue