diff --git a/plugins/github-actions/src/plugin.ts b/plugins/github-actions/src/plugin.ts index 7faee4e624..dbc366bd71 100644 --- a/plugins/github-actions/src/plugin.ts +++ b/plugins/github-actions/src/plugin.ts @@ -23,6 +23,10 @@ export const rootRouteRef = createRouteRef({ path: '/github-actions', title: 'GitHub Actions', }); +export const projectRouteRef = createRouteRef({ + path: '/github-actions/:kind/:optionalNamespaceAndName/', + title: 'GitHub Actions for project', +}); export const buildRouteRef = createRouteRef({ path: '/github-actions/workflow-run/:id', title: 'GitHub Actions Workflow Run', @@ -32,6 +36,7 @@ export const plugin = createPlugin({ id: 'github-actions', register({ router }) { router.addRoute(rootRouteRef, WorkflowRunsPage); + router.addRoute(projectRouteRef, WorkflowRunsPage); router.addRoute(buildRouteRef, WorkflowRunDetailsPage); }, });