Open neuronull opened 1 year ago
Ehh hitting this issue as well 🥲
I think this would be fixed by https://github.com/xt0rted/pull-request-comment-branch/pull/356 which would expose the repository
as an output to be used with the checkout
action.
If it's useful for anyone else, I've created a fork for this purpose: https://github.com/alessbell/pull-request-comment-branch
We're using this helpful GHA in CI at https://github.com/vectordotdev/vector/
One limitation we've ran into is that the when we trigger a workflow run that uses this GHA, but the PR was opened from a fork off the main repo, the git fetch operation fails.
Presumably this is because the GHA is looking at the main repo for the branch in question.
Example output:
It would be very useful to be able to use this GHA with PRs that are opened from forks! Thanks!