mirror of
https://github.com/peter-evans/create-pull-request.git
synced 2026-12-05 05:02:57 +00:00
try -s instead of --signoff
Signed-off-by: pvogt09 <50047961+pvogt09@users.noreply.github.com>
This commit is contained in:
1 parent
dd364f2835
commit
7ad9f6e012
1 file changed
+1
-1
@@ -101,7 +101,7 @@ export async function createOrUpdateBranch(
|
||||
core.info('Uncommitted changes found. Adding a commit.')
|
||||
await git.exec(['add', '-A'])
|
||||
if (signoff == true) {
|
||||
await git.commit(['--signoff', '-m', commitMessage])
|
||||
await git.commit(['-m', commitMessage, '-s'])
|
||||
} else {
|
||||
await git.commit(['-m', commitMessage])
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user