Class GitHubConcurrencyOption
- Namespace
- Invex.Atom.Module.GitHubWorkflows.Options
- Assembly
- Invex.Atom.Module.GitHubWorkflows.dll
Configures concurrency for a GitHub Actions workflow.
public sealed record GitHubConcurrencyOption : IBuildOption
- Inheritance
-
objectGitHubConcurrencyOption
- Implements
Constructors
GitHubConcurrencyOption(Template, Template?)
Configures concurrency for a GitHub Actions workflow.
public GitHubConcurrencyOption(Template Group, Template? CancelInProgress = null)
Parameters
GroupTemplateThe concurrency group key.
CancelInProgressTemplateWhether to cancel an in-progress workflow in the same group.
Properties
CancelInProgress
Whether to cancel an in-progress workflow in the same group.
public Template? CancelInProgress { get; init; }
Property Value
- Template
Group
The concurrency group key.
public Template Group { get; init; }
Property Value
- Template