Skip to content

Commit

Permalink
DOP-4401 add newHead field to payload
Browse files Browse the repository at this point in the history
Merged in newest changes from DOP-4414
  • Loading branch information
anabellabuckvar committed Mar 21, 2024
1 parent ed67cb4 commit e45c545
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand Down

0 comments on commit e45c545

Please sign in to comment.