Skip to content

Commit

Permalink
set output
Browse files Browse the repository at this point in the history
  • Loading branch information
KrogerWalt committed Jun 2, 2021
1 parent 4655999 commit c5c4d06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2193,6 +2193,8 @@ function run() {
}
core.setOutput('title', pull.title);
core.setOutput('body', pull.body);
core.setOutput('headBranch', pull.headBranch);
core.setOutput('baseBranch', pull.baseBranch);
core.setOutput('number', pull.number);
core.setOutput('labels', (_a = pull.labels) === null || _a === void 0 ? void 0 : _a.join('\n'));
core.setOutput('assignees', (_b = pull.assignees) === null || _b === void 0 ? void 0 : _b.join('\n'));
Expand Down
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ async function run(): Promise<void> {

core.setOutput('title', pull.title);
core.setOutput('body', pull.body);
core.setOutput('headBranch', pull.headBranch);
core.setOutput('baseBranch', pull.baseBranch);
core.setOutput('number', pull.number);
core.setOutput('labels', pull.labels?.join('\n'));
core.setOutput('assignees', pull.assignees?.join('\n'));
Expand Down

0 comments on commit c5c4d06

Please sign in to comment.