From 06c00cc7a0d99250f147ef3316d480c71af50a30 Mon Sep 17 00:00:00 2001 From: Matt Meigs Date: Mon, 30 Oct 2023 09:28:53 -0400 Subject: [PATCH] v2 github, use monorepoPaths on github push to kick off multiple jobs --- api/controllers/v2/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index b94293a8e..57142ef89 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -106,7 +106,7 @@ export const TriggerBuild = async (event: APIGatewayEvent): Promise('env'); - if (process.env.MONOREPO_PATH_FEATURE === 'true') { + if (process.env.MONOREPO_PATH_FEATURE === 'true' && body.repository.name === 'docs-monorepo') { let monorepoPaths: string[] = []; try { if (body.head_commit && body.repository.owner.name) {