feat: add branch name output

This commit is contained in:
Peter Evans 2024-06-18 14:10:30 +00:00
parent 4383ba9ef0
commit db4243edb5
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();