Skip to content

Commit

Permalink
Added the run_started_at field to the workflow-run results (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
mridang authored Nov 9, 2023
1 parent 036bf28 commit c6a2bcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions github/table_github_actions_repository_workflow_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func tableGitHubActionsRepositoryWorkflowRun() *plugin.Table {
{Name: "head_repository", Type: proto.ColumnType_JSON, Description: "The head repository info for the workflow run."},
{Name: "pull_requests", Type: proto.ColumnType_JSON, Description: "The pull request details for the workflow run."},
{Name: "repository", Type: proto.ColumnType_JSON, Description: "The repository info for the workflow run."},
{Name: "run_started_at", Type: proto.ColumnType_TIMESTAMP, Transform: transform.FromField("RunStartedAt").Transform(convertTimestamp), Description: "Time when the workflow run was started."},
{Name: "updated_at", Type: proto.ColumnType_TIMESTAMP, Transform: transform.FromField("UpdatedAt").Transform(convertTimestamp), Description: "Time when the workflow run was updated."},
{Name: "actor", Type: proto.ColumnType_JSON, Description: "The user whom initiated the first instance of this workflow run."},
{Name: "actor_login", Type: proto.ColumnType_STRING, Description: "The login of the user whom initiated the first instance of the workflow run.", Transform: transform.FromField("Actor.Login")},
Expand Down

0 comments on commit c6a2bcf

Please sign in to comment.