GitHubActionsWorkflowInfo.

Actor Property

Summary

Gets the name of the person or app that initiated the workflow.

Syntax

public string Actor { get; }

Examples

if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow Actor: {0}", BuildSystem.GitHubActions.Environment.Workflow.Actor);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow Actor: {0}", GitHubActions.Environment.Workflow.Actor);
}

Value

Type Description
string The name of the person or app that initiated the workflow.