Skip to content

Commit 1f22d3d

Browse files
committed
Update combined PR workflow to allow variable title
1 parent 1d58efe commit 1f22d3d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: .github/workflows/combine-prs.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ on:
1616
combineBranchName:
1717
description: 'Name of the branch to combine PRs into'
1818
required: true
19-
default: 'combine-prs-branch'
19+
default: 'combined-dependencies'
20+
combinePullRequestTitle:
21+
description: 'Title of the combined Pull Request'
22+
required: true
23+
default: 'Dependency Rollup'
2024
ignoreLabel:
2125
description: 'Exclude PRs with this label'
2226
required: true
@@ -145,7 +149,7 @@ jobs:
145149
await github.rest.pulls.create({
146150
owner: context.repo.owner,
147151
repo: context.repo.repo,
148-
title: 'Combined PR',
152+
title: '${{ github.event.inputs.combinePullRequestTitle }}',
149153
head: '${{ github.event.inputs.combineBranchName }}',
150154
base: baseBranch,
151155
body: body

0 commit comments

Comments
 (0)