(pullRequests)
| 69 | } |
| 70 | |
| 71 | function outputPullRequests(pullRequests) { |
| 72 | const created = pullRequests.filter(pullRequest => pullRequest) |
| 73 | setOutput('prs_created', created.length > 0) |
| 74 | if (created.length > 0) { |
| 75 | setOutput('pr', created[0]) |
| 76 | setOutput('prs', JSON.stringify(created)) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | function registerFormatjsPlugin() { |
| 81 | registerPlugin('formatjs-bazel-workspace', options => { |