deployment-action icon indicating copy to clipboard operation
deployment-action copied to clipboard

use owner and repo for deployment status request

Open scotthogan opened this issue 2 years ago • 0 comments

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.

scotthogan avatar Jul 01 '22 16:07 scotthogan