Skip to content

Enhance WorkflowRun struct with TriggeringActor  #2874

@graza-io

Description

@graza-io

Context

Would like to be able to utilise the triggering_actor data from the API on the WorkflowRun struct, currently there is support for actor which is the original initiator of the workflow run however in event of a re-run, etc the triggering_actor may contain info on a different user.

Suggested Solution

I think this should be as simple as adding the following line into the WorkflowRun struct:

TriggeringActor    *User      `json:"triggering_actor,omitempty"`

References

This data is included in both the List & Get endpoints for Workflow Runs on all tiers of the API.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions