Apply suggestions from code review

Co-authored-by: Boris Bera <dotboris@users.noreply.github.com>
Signed-off-by: Philippe Ballandras <pballandras@coveo.com>
This commit is contained in:
Philippe Ballandras
2023-03-30 13:49:13 -04:00
committed by pballandras@coveo.com
parent a761c53158
commit e78f083cb2
@@ -206,7 +206,7 @@ export const createPublishGithubPullRequestAction = (
commitMessage: {
type: 'string',
title: 'Commit Message',
description: 'The commit message for the PR commit',
description: 'The commit message for the pull request commit',
},
},
},
@@ -305,7 +305,7 @@ export const createPublishGithubPullRequestAction = (
changes: [
{
files,
commit: commitMessage || title,
commit: commitMessage ?? title,
},
],
body: description,