Summary
Gets the name of the person or app that initiated the workflow.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Workflow Info
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. |
