mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
fix: remove unnecessary gpg-sign input
This commit is contained in:
parent
c1d92ef456
commit
8bb8511e4d
8 changed files with 7 additions and 75 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ export interface Inputs {
|
|||
committer: string
|
||||
author: string
|
||||
signoff: boolean
|
||||
gpgSign: boolean
|
||||
branch: string
|
||||
deleteBranch: boolean
|
||||
branchSuffix: string
|
||||
|
@ -174,8 +173,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
|
|||
inputs.base,
|
||||
inputs.branch,
|
||||
branchRemoteName,
|
||||
inputs.signoff,
|
||||
inputs.gpgSign
|
||||
inputs.signoff
|
||||
)
|
||||
core.endGroup()
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ async function run(): Promise<void> {
|
|||
committer: core.getInput('committer'),
|
||||
author: core.getInput('author'),
|
||||
signoff: core.getInput('signoff') === 'true',
|
||||
gpgSign: core.getInput('gpg-sign') === 'true',
|
||||
branch: core.getInput('branch'),
|
||||
deleteBranch: core.getInput('delete-branch') === 'true',
|
||||
branchSuffix: core.getInput('branch-suffix'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue