pytest-coverage-comment
pytest-coverage-comment copied to clipboard
Link to files incorrect when using `workflow_run`
workflow_run runs in the context of the default branch, therefore when constructing URLs, it is incorrectly using the commit SHA from the default branch instead of from the pull request.
It should instead use the SHA from workflow_run on the payload.
https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run