pytest-coverage-comment icon indicating copy to clipboard operation
pytest-coverage-comment copied to clipboard

Link to files incorrect when using `workflow_run`

Open cecheta opened this issue 1 year ago • 0 comments

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

cecheta avatar Mar 14 '24 17:03 cecheta