mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
Keep env var output for backwards compat
This commit is contained in:
parent
3c32fac1fe
commit
5429e57002
4 changed files with 15 additions and 9 deletions
5
dist/index.js
vendored
5
dist/index.js
vendored
|
@ -8084,8 +8084,11 @@ class GitHubHelper {
|
|||
const headBranch = `${headRepo.owner.login}:${inputs.branch}`;
|
||||
// Create or update the pull request
|
||||
const pullNumber = yield this.createOrUpdate(inputs, baseRepository, headBranch);
|
||||
// Set output
|
||||
// Set outputs
|
||||
core.startGroup('Setting outputs');
|
||||
core.setOutput('pull-request-number', pullNumber);
|
||||
core.exportVariable('PULL_REQUEST_NUMBER', pullNumber);
|
||||
core.endGroup();
|
||||
// Set milestone, labels and assignees
|
||||
const updateIssueParams = {};
|
||||
if (inputs.milestone) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue