Table of Contents

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

string?

CommitSha

Reads GITHUB_SHA; returns null when it is unset or empty.

public string? CommitSha { get; }

Property Value

string?

GitReference

Reads GITHUB_REF; returns null when it is unset or empty.

public string? GitReference { get; }

Property Value

string?

HeadReference

Reads GITHUB_HEAD_REF; returns null when it is unset or empty.

public string? HeadReference { get; }

Property Value

string?

Name

Reads GITHUB_WORKFLOW; returns null when it is unset or empty.

public string? Name { get; }

Property Value

string?

ReferenceName

Reads GITHUB_REF_NAME; returns null when it is unset or empty.

public string? ReferenceName { get; }

Property Value

string?

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

string?

WorkflowReference

Reads GITHUB_WORKFLOW_REF; returns null when it is unset or empty.

public string? WorkflowReference { get; }

Property Value

string?

WorkflowSha

Reads GITHUB_WORKFLOW_SHA; returns null when it is unset or empty.

public string? WorkflowSha { get; }

Property Value

string?