diff --git a/plugins/cloudbuild/src/api/types.ts b/plugins/cloudbuild/src/api/types.ts index b721e8dca1..06fe2f9102 100644 --- a/plugins/cloudbuild/src/api/types.ts +++ b/plugins/cloudbuild/src/api/types.ts @@ -83,6 +83,7 @@ export interface Substitutions { SHORT_SHA: string; REF_NAME: string; REPO_NAME: string; + TRIGGER_NAME: string; REVISION_ID: string; } diff --git a/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx b/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx index cda5f16116..5dc9005126 100644 --- a/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx +++ b/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx @@ -54,6 +54,14 @@ const generatedColumns: TableColumn[] = [ ), }, + { + title: 'Trigger Name', + render: (row: Partial) => ( + + {row.substitutions?.TRIGGER_NAME} + + ), + }, { title: 'Source', field: 'source',