shift setting the base to before the push
This commit is contained in:
@ -194,6 +194,8 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
|
||||
inputs.signoff,
|
||||
inputs.addPaths
|
||||
)
|
||||
// Set the base. It would have been '' if not specified as an input
|
||||
inputs.base = result.base
|
||||
core.endGroup()
|
||||
|
||||
if (['created', 'updated'].includes(result.action)) {
|
||||
@ -400,9 +402,6 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
|
||||
core.endGroup()
|
||||
}
|
||||
|
||||
// Set the base. It would have been '' if not specified as an input
|
||||
inputs.base = result.base
|
||||
|
||||
if (result.hasDiffWithBase) {
|
||||
// Create or update the pull request
|
||||
core.startGroup('Create or update the pull request')
|
||||
|
Reference in New Issue
Block a user