Skip to content

Commit 179e34d

Browse files
authored
[gha] fix comment ops p4 (#16734)
1 parent 5f3dfe2 commit 179e34d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/comment-ops.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
branch: ${{ steps.comment-branch.outputs.head_ref }}
2424
run_url: ${{ fromJSON(steps.run_outputs.outputs.result).html_url }}
2525
run_id: ${{ fromJSON(steps.run_outputs.outputs.result).id }}
26-
recreate_vm: ${{ steps.configure.outputs.recreate-vm }}
26+
recreate_vm: ${{ steps.configure.outputs.recreate_vm }}
2727
steps:
2828
# In order for us to find out from which PR the comment originates, we use the `xt0rted/pull-request-comment-branch@v1` action
2929
- uses: xt0rted/pull-request-comment-branch@v1
@@ -33,7 +33,7 @@ jobs:
3333
id: outputs
3434
run: |
3535
{
36-
echo "recreate-vm=${{ contains(github.event.comment.body, 'recreate-vm') }}"
36+
echo "recreate_vm=${{ contains(github.event.comment.body, 'recreate-vm') }}"
3737
} >> $GITHUB_OUTPUT
3838
# Trigger the build workflow with the input we got from the comment
3939
# In the triggered job (build), we'll combine the information from the PR description, with the input we pass here
@@ -49,7 +49,7 @@ jobs:
4949
workflow_id: 'build.yml',
5050
ref: '${{ steps.comment-branch.outputs.head_ref }}',
5151
inputs: {
52-
"recreate_vm": '${{ steps.configure.outputs.recreate-vm }}'
52+
"recreate_vm": '${{ steps.outputs.outputs.recreate_vm }}'
5353
}
5454
})
5555
# Getting the ID of the workflow we triggered above is a bit tricky, as it's async :(
@@ -88,7 +88,7 @@ jobs:
8888
commentBody += `\n\n#### Comment triggered a workflow run
8989
9090
Started workflow run: [${{ fromJSON(steps.run_outputs.outputs.result).id }}](${{ fromJSON(steps.run_outputs.outputs.result).html_url }})
91-
* \`recreate_vm: ${{ steps.configure.outputs.recreate-vm }}\``
91+
* \`recreate_vm: ${{ steps.outputs.outputs.recreate_vm }}\``
9292
github.rest.issues.updateComment({
9393
issue_number: ${{ github.event.issue.number }},
9494
owner: context.repo.owner,

0 commit comments

Comments
 (0)