From 84768ee44eeb1750cf759446b1629314579d394f Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Fri, 15 Mar 2024 12:05:40 -0400 Subject: [PATCH] DOP-4414 fewer sites --- api/controllers/v2/github.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index 711bcbd86..7c7f9b52c 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -221,6 +221,10 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr //add logic for getting master branch, latest stable branch const job = await prepGithubPushPayload(body, payload, jobTitle); + + if (repoName == 'docs') { + return job; + } try { consoleLogger.info(job.title, 'Creating Job'); const jobId = await jobRepository.insertJob(job, c.get('jobsQueueUrl'));