-
Notifications
You must be signed in to change notification settings - Fork 16
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
[error]Could not get pull request from context, exiting #13
Comments
Hi @ravikp7, can you tell me on what event you're using the action? If you're not using it with |
I'm using it for the pull_request event |
Hum.. that means accessing Maybe this changed at some point, in which case I would recommend you try to run the action at v3.3.0. Unfortunately, there's no good way to debug this issue locally :/ |
I see the same issue with v3.3.0 when using
The error I get looks like the following:
According to actions/checkout#136, I also tried to set
a the checkout step I run before. |
@aheil is this something that happened once, or happens frequently? If the former, is anything special about that PR that you can think of? |
It happens frequently, I just tried another Action were I also have to pass the GITHUB_TOKEN. |
I get the error if my config includes the push:
No error for pull_request event. Would it be possible to add support for just pushes? |
There's currently some support for push: you can specify the |
Hi @futuratrepadeira ! Thanks for this nifty action. I'm running into this issue.
My workflow looks like this:
Inspecting the code, I see it failing at the below line.
https://github.com/futuratrepadeira/changed-files/blob/ca328ebf8ca65f94258677cea8478f0094d76a8e/src/main.ts#L100
What could be a possible reason? Can I debug this locally?
Let me know if you need more debug info.
The text was updated successfully, but these errors were encountered: