Skip to content

Commit

Permalink
fix: link to correct workspace in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomer authored and Tomer committed Jan 13, 2022
1 parent d2d45f7 commit 307b8f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ try {
headers
}).then((res) => {
const eventId = res.body.eventId
const customerId = res.body.customerId

if (isPullRequestTriggered) {
addCommentToPullRequest(`https://${hostname}/simulations/${eventId}`)
addCommentToPullRequest(`https://${hostname}/w/${customerId}/simulations/${eventId}`)
}

core.setOutput('EventId', eventId);
Expand Down

0 comments on commit 307b8f8

Please sign in to comment.