diff --git a/plugins/github-actions/src/components/WorkflowRunDetails/WorkflowRunDetails.tsx b/plugins/github-actions/src/components/WorkflowRunDetails/WorkflowRunDetails.tsx index 7bcdb1f9bc..2f4742f0b7 100644 --- a/plugins/github-actions/src/components/WorkflowRunDetails/WorkflowRunDetails.tsx +++ b/plugins/github-actions/src/components/WorkflowRunDetails/WorkflowRunDetails.tsx @@ -209,6 +209,12 @@ export const WorkflowRunDetails = ({ entity }: { entity: Entity }) => { {details.value?.head_commit.id} + + + Workflow + + {details.value?.name} + Status diff --git a/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx b/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx index 6a3b88b052..e62704405d 100644 --- a/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx +++ b/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx @@ -41,6 +41,7 @@ import { Entity } from '@backstage/catalog-model'; import { readGitHubIntegrationConfigs } from '@backstage/integration'; export type WorkflowRun = { + workflowName: string; id: string; message: string; url?: string; @@ -86,6 +87,10 @@ const generatedColumns: TableColumn[] = [ ), }, + { + title: 'Workflow', + field: 'workflowName', + }, { title: 'Status', width: '150px', diff --git a/plugins/github-actions/src/components/useWorkflowRuns.ts b/plugins/github-actions/src/components/useWorkflowRuns.ts index 4a4ded2d94..eb453e6221 100644 --- a/plugins/github-actions/src/components/useWorkflowRuns.ts +++ b/plugins/github-actions/src/components/useWorkflowRuns.ts @@ -58,6 +58,7 @@ export function useWorkflowRuns({ setTotal(workflowRunsData.total_count); // Transformation here return workflowRunsData.workflow_runs.map(run => ({ + workflowName: run.name, message: run.head_commit.message, id: `${run.id}`, onReRunClick: async () => {