Class GitHubWorkflowMetadata
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Environment metadata used by GitHubWorkflowMetadata.
public sealed record GitHubWorkflowMetadata : IEquatable<GitHubWorkflowMetadata>Properties
BaseReference
Reads GITHUB_BASE_REF; returns null when it is unset or empty.
public string? BaseReference { get; }Property Value
CommitSha
Reads GITHUB_SHA; returns null when it is unset or empty.
public string? CommitSha { get; }Property Value
GitReference
Reads GITHUB_REF; returns null when it is unset or empty.
public string? GitReference { get; }Property Value
HeadReference
Reads GITHUB_HEAD_REF; returns null when it is unset or empty.
public string? HeadReference { get; }Property Value
Name
Reads GITHUB_WORKFLOW; returns null when it is unset or empty.
public string? Name { get; }Property Value
ReferenceName
Reads GITHUB_REF_NAME; returns null when it is unset or empty.
public string? ReferenceName { get; }Property Value
ReferenceProtected
Reads GITHUB_REF_PROTECTED; returns null when it is unset or empty.
public bool? ReferenceProtected { get; }Property Value
- bool?
ReferenceType
Reads GITHUB_REF_TYPE; returns null when it is unset or empty.
public string? ReferenceType { get; }Property Value
WorkflowReference
Reads GITHUB_WORKFLOW_REF; returns null when it is unset or empty.
public string? WorkflowReference { get; }Property Value
WorkflowSha
Reads GITHUB_WORKFLOW_SHA; returns null when it is unset or empty.
public string? WorkflowSha { get; }