The commit message and PR title share one default, derived from the PR title or task.
(params: PiCloudRunParams)
| 141 | |
| 142 | /** The commit message and PR title share one default, derived from the PR title or task. */ |
| 143 | function defaultTitle(params: PiCloudRunParams): string { |
| 144 | return params.prTitle?.trim() || truncate(`Pi: ${params.task}`, COMMIT_TITLE_MAX) |
| 145 | } |
| 146 | |
| 147 | async function openPullRequest( |
| 148 | params: PiCloudRunParams, |
no test coverage detected