Table of Contents

Class GitHubContextsEventContext

Namespace
Invex.StructuredText.GithubActions
Assembly
Invex.StructuredText.GithubActions.dll

The github.event context. The full event webhook payload.

public sealed record GitHubContextsEventContext : JsonExpr, IContextPath
Inheritance
object
GitHubContextsEventContext
Implements
Inherited Members

Constructors

GitHubContextsEventContext()

public GitHubContextsEventContext()

Properties

Children

The direct sub-expressions of this node, in left-to-right order.

public override IEnumerable<Expr> Children { get; }

Property Value

IEnumerable<Expr>

Number

github.event.number: The pull request number (pull request events only).

public NumberExpr Number { get; }

Property Value

NumberExpr

PullRequest

github.event.pull_request: Container for the members below.

public GitHubContextsEventPullRequestContext PullRequest { get; }

Property Value

GitHubContextsEventPullRequestContext

WorkflowRun

github.event.workflow_run: Container for the members below.

public GitHubContextsEventWorkflowRunContext WorkflowRun { get; }

Property Value

GitHubContextsEventWorkflowRunContext