Skip to content

Commit

Permalink
DOP-4414 testing lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 13, 2024
1 parent 666debf commit 97f61fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ async function createPayload(
branch_name = 'master';
newHead = null;
action = 'automatedTest';
return repoName + branch_name + repoInfo.project;
} else {
try {
action = 'push';
Expand All @@ -94,7 +95,6 @@ async function createPayload(
}
}

return repoName + branch_name + repoInfo.project;
const branch_info = await repoBranchesRepository.getRepoBranchAliases(repoName, branch_name, repoInfo.project);
const urlSlug = branch_info.aliasObject?.urlSlug ?? branch_name;

Expand Down

0 comments on commit 97f61fd

Please sign in to comment.