Class Concurrency
- Namespace
- Invex.StructuredText.GithubActions.GithubActionModel
- Assembly
- Invex.StructuredText.GithubActions.dll
Concurrency settings (concurrency) that ensure only one run (or queued run) sharing the same
group executes at a time, at either workflow or job level.
public sealed record Concurrency
- Inheritance
-
objectConcurrency
Constructors
Concurrency()
public Concurrency()
Properties
CancelInProgress
Whether to cancel an in-progress run of the same group when a new run starts
(cancel-in-progress).
public Template? CancelInProgress { get; init; }
Property Value
Group
The concurrency group key. Runs with the same group are serialized.
Often built from expressions, e.g. $"ci-{Tex.GitHub.Ref}".
public required Template Group { get; init; }