Skip to content

Commit

Permalink
combine prs
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Nov 5, 2023
1 parent 0e63258 commit 7d84f15
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/combine-dependabot-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ jobs:
console.log(error);
core.setFailed('Failed to create combined branch - maybe a branch by that name already exists?');
return;
}
}
let combinedPRs = [];
let mergeFailedPRs = [];
for(const { branch, prString } of branchesAndPRStrings) {
Expand All @@ -134,8 +133,7 @@ jobs:
console.log('Failed to merge branch ' + branch);
mergeFailedPRs.push(prString);
}
}
}
console.log('Creating combined PR');
const combinedPRsString = combinedPRs.join('\n');
let body = '? This PR was created by the Combine PRs action by combining the following PRs:\n' + combinedPRsString;
Expand Down

0 comments on commit 7d84f15

Please sign in to comment.