fix coverage from forks

This commit is contained in:
Dario Coscia
2025-09-17 11:45:41 +02:00
committed by Nicola Demo
parent 5966d038ff
commit 9e7cae668d

View File

@@ -74,5 +74,14 @@ jobs:
path: ./cobertura.xml
threshold: 80.123
fail: true
publish: true
publish: false # here we prevent branch push, see issue #548
coverage-summary-title: "Code Coverage Summary"
# post the summary as a PR comment, see issue #548
- name: Comment PR with coverage
uses: marocchino/sticky-pull-request-comment@v2
with:
header: coverage-report
message: |
### Code Coverage Report
${{ steps.coverage.outputs.summary }}