1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-27 04:15:38 -05:00

Update PR title

This commit is contained in:
Toast 2023-07-20 17:29:16 +10:00 committed by GitHub
parent 114aded958
commit 4f978108db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ jobs:
console.log('Creating combined PR'); console.log('Creating combined PR');
const combinedPRsString = combinedPRs.join('\n'); const combinedPRsString = combinedPRs.join('\n');
let body = '✅ This PR was created by the Combine PRs action by combining the following PRs:\n' + combinedPRsString; let body = '✅ This PR was created by the Combine Dependabot PRs action by combining the following PRs:\n' + combinedPRsString;
if(mergeFailedPRs.length > 0) { if(mergeFailedPRs.length > 0) {
const mergeFailedPRsString = mergeFailedPRs.join('\n'); const mergeFailedPRsString = mergeFailedPRs.join('\n');
body += '\n\n⚠ The following PRs were left out due to merge conflicts:\n' + mergeFailedPRsString body += '\n\n⚠ The following PRs were left out due to merge conflicts:\n' + mergeFailedPRsString
@ -145,7 +145,7 @@ jobs:
await github.rest.pulls.create({ await github.rest.pulls.create({
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
title: 'Combined PR', title: 'Combined Dependabot PR',
head: '${{ github.event.inputs.combineBranchName }}', head: '${{ github.event.inputs.combineBranchName }}',
base: baseBranch, base: baseBranch,
body: body body: body