From e45c545c6ee51a03b9804bb6b54c56e8b7317819 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Tue, 19 Mar 2024 10:13:12 -0400 Subject: [PATCH] DOP-4401 add newHead field to payload Merged in newest changes from DOP-4414 --- api/controllers/v2/github.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index 7c479ac296..06d7588cef 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -205,12 +205,15 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr } const jobPrefix = repoInfo?.prefix ? repoInfo['prefix'][env] : ''; + const newHead = body.workflow_run.head_sha; + const payload = await createPayload({ repoName, isSmokeTestDeploy: true, prefix: jobPrefix, repoBranchesRepository, repoInfo, + newHead, repoOwner, });