Ensure test coverage reports can be uploaded for PRs from forks #3516
Labels
ci
enhancement
New feature or request
p2
Non-critical bugs, and features that help organizations to identify and reduce risk
size/S
Small effort
Milestone
Current Behavior
Uploading test coverage report for PRs from forks currently fails, because
pull_request
events do not have access to repository secrets, such as the Codacy project token.Proposed Behavior
Instead of trying to upload coverage report in the Tests CI workflow directly, have it upload the coverage report, and trigger another workflow upon completion that'll take care of the upload.
This is detailed here: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
Checklist
The text was updated successfully, but these errors were encountered: