Skip to content

Commit

Permalink
DOP-4414 fewer sites
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 15, 2024
1 parent d1aa508 commit c3f01ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ async function createPayload(
githubEvent?: PushEvent,
directory?: string
) {
if (repoName != 'docs-realm') {
return repoName;
}
const jobType = 'githubPush';
const source = 'github';
const project = repoInfo?.project ?? repoName;
Expand Down Expand Up @@ -219,9 +222,6 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr

const payload = await createPayload(repoName, true, jobPrefix, repoBranchesRepository, repoInfo, repoOwner);

if (repoName != 'docs-realm') {
return payload;
}
//add logic for getting master branch, latest stable branch
const job = await prepGithubPushPayload(body, payload, jobTitle);

Expand Down

0 comments on commit c3f01ff

Please sign in to comment.