GitHubActionsWorkflowInfo.

ActorId Property

Summary

Gets the account ID of the person or app that triggered the initial workflow run.

Syntax

public string ActorId { get; }

Examples

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

Value

Type Description
string The account ID of the person or app that triggered the initial workflow run.