Skip to content

Commit

Permalink
Update roboanimals-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kx9x authored Jun 26, 2022
1 parent 65b993c commit 1469208
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/roboanimals-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,19 @@ jobs:
body: |
> Failure: check output ${{ steps.vars.outputs.run-url }}
> Output: ${{ steps.read_output.outputs.content }}
> Error: ${{ steps.read_error.outputs.content }}
> Error: ${{ steps.read_error.outputs.content }}
- name: Comment with output and error
if: ${{ failure() && inputs.from_pr == 'true' }}
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: ${{ inputs.pull_request_number }}
body: |
Output:
${{ steps.read_output.outputs.content }}
Error:
${{ steps.read_error.outputs.content }}
- name: Edit comment with dry run message
if: ${{ inputs.send == 'false' && inputs.from_pr == 'true'}}
Expand Down

0 comments on commit 1469208

Please sign in to comment.