Skip to content

ActionRunner

Import from pyfj or pyfj.models as ActionRunner.

ActionRunner

ActionRunner represents a runner

description

description: str | None = Field(default=None, description='Description provides optional details about this runner.')

ephemeral

ephemeral: bool | None = Field(default=None, description='Indicates if runner is ephemeral runner')

id

id: int | None = Field(default=None, description='ID uniquely identifies this runner.')

labels

labels: list[str] | None = Field(default=None, description='Labels is a list of labels attached to this runner.')

name

name: str | None = Field(default=None, description='Name of the runner; not unique.')

owner_id

owner_id: int | None = Field(
    default=None,
    description="OwnerID is the identifier of the user or organization this runner belongs to. O if the runner is owned by a repository.",
)

repo_id

repo_id: int | None = Field(
    default=None,
    description="RepoID is the identifier of the repository this runner belongs to. 0 if the runner belongs to a user or organization.",
)

status

status: ActionRunnerStatus | None = Field(
    default=None, description="Status indicates whether this runner is offline, or active, for example."
)

uuid

uuid: str | None = Field(default=None, description='UUID uniquely identifies this runner.')

version

version: str | None = Field(default=None, description='Version is the self-reported version string of Forgejo Runner.')

ActionRunnerStatus

Status indicates whether this runner is offline, or active, for example.

ACTIVE

ACTIVE = 'active'

IDLE

IDLE = 'idle'

OFFLINE

OFFLINE = 'offline'

Used by

Namespace Operations
admin.actions.runners get · list
orgs.actions.runners get · list
repos.actions.runners get · list
user.actions.runners get · list