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:
parent
114aded958
commit
4f978108db
4
.github/workflows/combine-dependabot-prs.yml
vendored
4
.github/workflows/combine-dependabot-prs.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user