Skip to content

Commit

Permalink
Fix PR comments [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Nov 9, 2023
1 parent 0b0ef23 commit c0c5d51
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/workflow_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,18 @@ jobs:
- name: Get PR object
if: failure()
uses: 8BitJonny/[email protected]
id: getpr
id: failed_pr_number
with:
sha: ${{ github.event.pull_request.head.sha }}
- name: Debug GetPR output
run: |
echo ${{ steps.failed_pr_number.outputs.number }}
- name: Post comment with test report
if: failure()
uses: peter-evans/create-or-update-comment@v3
with:
token: ${{ secrets.PAT }}
issue-number: ${{ steps.getpr.outputs.number }}
issue-number: ${{ steps.failed_pr_number.outputs.number }}
body-path: upload/tool_test_output.md

# deploy workflows to organization
Expand Down

0 comments on commit c0c5d51

Please sign in to comment.