feat: add branch name output (#2995)

This commit is contained in:
Peter Evans
2024-06-18 09:51:55 -07:00
committed by GitHub
parent 4383ba9ef0
commit c5a7806660
4 changed files with 5 additions and 0 deletions

1
dist/index.js vendored
View File

@ -458,6 +458,7 @@ function createPullRequest(inputs) {
core.setOutput('pull-request-operation', 'updated');
}
core.setOutput('pull-request-head-sha', result.headSha);
core.setOutput('pull-request-branch', inputs.branch);
// Deprecated
core.exportVariable('PULL_REQUEST_NUMBER', pull.number);
core.endGroup();