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

Can't find open pull request when using pull_request_target #38

Open
mehalter opened this issue Jun 21, 2021 · 1 comment
Open

Can't find open pull request when using pull_request_target #38

mehalter opened this issue Jun 21, 2021 · 1 comment

Comments

@mehalter
Copy link

I'm trying to set up this GitHub action to comment on PRs using the pull_request_target trigger so that it works appropriately with forked repository pull requests, but I am getting an error:

 Couldn't find an open pull request for branch with head at .

Has anyone successfully used this GitHub Action for commenting on pull requests made with forked repositories and the pull_request_target trigger?

@ahnl
Copy link

ahnl commented Sep 26, 2021

This GitHub action worked for me instead: https://github.com/marketplace/actions/comment-pull-request.

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

No branches or pull requests

2 participants