ActionRun
Import from pyfj or pyfj.models as ActionRun.
ActionRun
ActionRun represents an action run
approved_by
approved_by: int | None = Field(default=None, description='who approved this action run')
commit_sha
commit_sha: str | None = Field(default=None, description='the commit sha the action run ran on')
created
created: datetime | None = Field(default=None, description='when the action run was created')
event
event: str | None = Field(default=None, description='the webhook event that causes the workflow to run')
event_payload
event_payload: str | None = Field(
default=None, description="the payload of the webhook event that causes the workflow to run"
)
html_url
html_url: str | None = Field(default=None, description='the url of this action run')
id
id: int | None = Field(default=None, description='the action run id')
index_in_repo
index_in_repo: int | None = Field(default=None, description='a unique number for each run of a repository')
is_fork_pull_request
is_fork_pull_request: bool | None = Field(
default=None,
description="If this is triggered by a PR from a forked repository or an untrusted user, we need to check if it is approved and limit permissions when running the workflow.",
)
is_ref_deleted
is_ref_deleted: bool | None = Field(default=None, description="has the commit/tag/… the action run ran on been deleted")
need_approval
need_approval: bool | None = Field(default=None, description="may need approval if it's a fork pull request")
prettyref
prettyref: str | None = Field(default=None, description='the commit/tag/… the action run ran on')
schedule_id
schedule_id: int | None = Field(default=None, alias='ScheduleID', description='the cron id for the schedule trigger')
started
started: datetime | None = Field(default=None, description='when the action run was started')
status
status: str | None = Field(default=None, description='the current status of this run')
stopped
stopped: datetime | None = Field(default=None, description='when the action run was stopped')
title
title: str | None = Field(default=None, description="the action run's title")
trigger_event
trigger_event: str | None = Field(
default=None, description="the trigger event defined in the `on` configuration of the triggered workflow"
)
updated
updated: datetime | None = Field(default=None, description='when the action run was last updated')
workflow_id
workflow_id: str | None = Field(default=None, description='the name of workflow file')
Used by
| Namespace | Operations |
|---|---|
repos.actions.runs |
get |