Madrapps / jacoco-report

Github action that publishes the JaCoCo report as a comment in the Pull Request
https://github.com/marketplace/actions/jacoco-report
MIT License
144 stars 63 forks source link

Support for workflow summary #88

Open yijhenlin opened 4 months ago

yijhenlin commented 4 months ago

Encounter Error: HttpError: Resource not accessible by integration if pull requests from public forked repositories. I tried to add permissions setting in yaml and add PAT in secrets, they didn't work due to the restrictions. Maximum access for pull requests from public forked repositories is read-only With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository

And output the report to workflow summary doesn't require write permission, so it will be great to have an option to support this. Refer to: https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/