deployment-action
deployment-action copied to clipboard
use owner and repo for deployment status request
This change fixes an error that occurs when specifying a different owner
and repo
(and GitHub token
) when the request to createDeploymentStatus
is attempted. The error:
HttpError: Not Found
Error creating GitHub deployment: Not Found
The cause seems to be that this request is using the owner/repo from the context object (i.e. the repo the workflow is run from) rather than resolving these from the inputs as the createDeployment
request does.
By using the same previously resolved owner
and repo
variables in this call, it resolves this issue.