Table of Contents

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
object
Concurrency

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

Template

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; }

Property Value

Template