mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
feat: add output for head sha
This commit is contained in:
parent
3c3d696d5b
commit
c0a9598b0e
4 changed files with 372 additions and 1133 deletions
|
@ -212,6 +212,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
|
|||
} else if (result.action == 'updated') {
|
||||
core.setOutput('pull-request-operation', 'updated')
|
||||
}
|
||||
core.setOutput('pull-request-head-sha', result.headSha)
|
||||
// Deprecated
|
||||
core.exportVariable('PULL_REQUEST_NUMBER', pull.number)
|
||||
core.endGroup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue