Skip to content

Commit

Permalink
Update combined PR workflow to allow variable title
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Dec 1, 2023
1 parent 1d58efe commit 1f22d3d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/combine-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ on:
combineBranchName:
description: 'Name of the branch to combine PRs into'
required: true
default: 'combine-prs-branch'
default: 'combined-dependencies'
combinePullRequestTitle:
description: 'Title of the combined Pull Request'
required: true
default: 'Dependency Rollup'
ignoreLabel:
description: 'Exclude PRs with this label'
required: true
Expand Down Expand Up @@ -145,7 +149,7 @@ jobs:
await github.rest.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: 'Combined PR',
title: '${{ github.event.inputs.combinePullRequestTitle }}',
head: '${{ github.event.inputs.combineBranchName }}',
base: baseBranch,
body: body
Expand Down

0 comments on commit 1f22d3d

Please sign in to comment.