diff --git a/.github/workflows/ci-reports.yaml b/.github/workflows/ci-reports.yaml index 57ae0d01..0b14d642 100644 --- a/.github/workflows/ci-reports.yaml +++ b/.github/workflows/ci-reports.yaml @@ -67,3 +67,10 @@ jobs: if: steps.get-pr.outputs.pr_number != '' run: | ls -lR reports/ + + - name: "Publish available .md reports to PR" + uses: marocchino/sticky-pull-request-comment@v2 + if: steps.get-pr.outputs.pr_number != '' + with: + path: reports/*.md + number: ${{ steps.get-pr.outputs.pr_number }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 303f5138..53e4f2d3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -124,12 +124,6 @@ jobs: name: event-file path: ${{ github.event_path }} - # - name: "Publish code coverage data to PR" - # uses: marocchino/sticky-pull-request-comment@v2 - # if: ${{ github.actor != 'dependabot[bot]' && steps.code_coverage_report.outputs.file != '' && (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') }} - # with: - # path: code-coverage-results.md - check: name: "Source code checks" runs-on: ubuntu-latest