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

Handle Uploading Impacted Targets From Forked PRs #47

Merged
merged 6 commits into from
Feb 14, 2024

Conversation

pv72895
Copy link
Collaborator

@pv72895 pv72895 commented Feb 14, 2024

What Does The PR Do

This PR properly handles uploading impacted targets from forked PRs. This required some changes with how we check out branches from PRs - mainly, switching to the SHA instead of the ref/branch name

Testing

This was tested with two PRs using the most current SHA of this action (7892141d5667431db80de9b7c8fd82378c7390bd) - one was forked, and one was not

Forked

Not forked

Other things done in the PR

I made it so that we also print out the response body from the API call to upload impacted targets if we don't get a 200 back, which should make it much clearer as to what went wrong

@pv72895 pv72895 changed the title Attempt to handle forks Handle Uploading Impacted Targets From Forked PRs Feb 14, 2024
@pv72895 pv72895 requested review from eltonkl and gnalh February 14, 2024 21:53
@pv72895 pv72895 marked this pull request as ready for review February 14, 2024 21:53
@pv72895 pv72895 merged commit 0d8da4c into main Feb 14, 2024
3 checks passed
@pv72895 pv72895 deleted the phil/try-passing-in-pr-sha-for-ref branch February 14, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants