diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 717fb464..03f91646 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -57,9 +57,7 @@ jobs: pytest -v --md-report --md-report-output ${{ env.REPORT_FILE }} cat ${{ env.REPORT_FILE }} - - name: Render the report to the PR when tests fail - uses: marocchino/sticky-pull-request-comment@v2 + - name: Comment PR + uses: thollander/actions-comment-pull-request@v2 with: - header: test-report - recreate: true - path: ${{ env.REPORT_FILE }} \ No newline at end of file + filePath: ${{ env.REPORT_FILE }} \ No newline at end of file