fix: remove unnecessary gpg-sign input

This commit is contained in:
Peter Evans 2021-05-10 09:01:53 +09:00
parent c1d92ef456
commit 8bb8511e4d
8 changed files with 7 additions and 75 deletions

View file

@ -91,8 +91,7 @@ export async function createOrUpdateBranch(
base: string,
branch: string,
branchRemoteName: string,
signoff: boolean,
gpgSign: boolean
signoff: boolean
): Promise<CreateOrUpdateBranchResult> {
// Get the working base.
// When a ref, it may or may not be the actual base.
@ -125,9 +124,6 @@ export async function createOrUpdateBranch(
if (signoff) {
params.push('--signoff')
}
if (gpgSign) {
params.push('--gpg-sign')
}
await git.commit(params)
}