Skip to content

Commit

Permalink
update readme and action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyAv46 committed Dec 15, 2023
1 parent 8a76cca commit 7c7755d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,4 @@ Output | Description
-------|------------
`was_successful` | Whether or not the changes could be backported successfully to all targets. Either `true` or `false`.
`was_successful_by_target` | Whether or not the changes could be backported successfully to all targets - broken down by target. Follows the pattern `{{label}}=true\|false`.
`successful_prs` | Space separated list of the newly created PRs.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ outputs:
description: >
Whether or not the changes could be backported successfully to all targets - broken down by target.
Follows the pattern '{{label}}=true|false'.
successful_prs:
description: >
Space separated list of the newly created PRs.
runs:
using: "node20"
main: "dist/index.js"
Expand Down
2 changes: 1 addition & 1 deletion src/backport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ export class Backport {
);
core.setOutput(Output.wasSuccessfulByTarget, byTargetOutput);

const successPRsOutput = successPRs.join("\n");
const successPRsOutput = successPRs.join(" ");
core.setOutput(Output.successfulPRs, successPRsOutput);
}
}
Expand Down

0 comments on commit 7c7755d

Please sign in to comment.