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

use owner and repo for deployment status request #66

Closed
wants to merge 2 commits into from

Conversation

scotthogan
Copy link

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.

@chrnorm
Copy link
Owner

chrnorm commented Sep 7, 2022

@scotthogan thanks for this PR! I've just merged and released #69 in v2.0.4 which I believe deals with the same issue, although I do agree with your change to kebab-case for the input. I've given you a mention in the release notes.

@chrnorm chrnorm closed this Sep 7, 2022
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

Successfully merging this pull request may close these issues.

2 participants