File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,15 @@ jobs:
7979
8080 return url[0];
8181 # Comment with a link to the job that got triggered
82- - uses : actions/github-script@v6
82+ - name : Update comment with workflow run
83+ uses : actions/github-script@v6
8384 with :
8485 github-token : ${{ github.token }}
8586 script : |
8687 let commentBody = '${{ github.event.comment.body }}'
8788 commentBody += `\n\n#### Comment triggered a workflow run
8889
89- Started workflow run: [${{ needs.configure .outputs.run_id }}](${{ needs.configure .outputs.run_url }})
90+ Started workflow run: [${{ fromJSON(steps.run_outputs .outputs.result).id }}](${{ fromJSON(steps.run_outputs .outputs.result).html_url }})
9091 * \`recreate_vm: ${{ steps.configure.outputs.recreate-vm }}\``
9192 github.rest.issues.updateComment({
9293 issue_number: ${{ github.event.issue.number }},
You can’t perform that action at this time.
0 commit comments