Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to files incorrect when using workflow_run #157

Closed
cecheta opened this issue Mar 14, 2024 · 0 comments · Fixed by #158
Closed

Link to files incorrect when using workflow_run #157

cecheta opened this issue Mar 14, 2024 · 0 comments · Fixed by #158

Comments

@cecheta
Copy link
Contributor

cecheta commented Mar 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant