You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm consistently receiving 404 errors when calling the github.rest.git.getTree API. From my testing it appears the URL parameter ?tree= is causing the issue, as if the API does not support this.
Describe the bug
I'm consistently receiving 404 errors when calling the
github.rest.git.getTree
API. From my testing it appears the URL parameter?tree=
is causing the issue, as if the API does not support this.To Reproduce
my GithHub action is configured as:
where
inputs.branch
is set tomain
, and the 404 response is:When I test locally with Curl, this is what I see:
and the output is:
When I run the same test, but include the
?tree=
parameter, I get the same 404 error:and the output is:
Expected behavior
I expect a tree object to be returned.
Screenshots
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
Unless I'm misunderstanding how to use this API, it appears to be a bug.
The text was updated successfully, but these errors were encountered: