-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Github update status error is logged with empty URL as if there were misconfiguration #5585
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
Comments
Hello @maximmasiutin! I'm Dosu, a bot here to help you solve bugs, answer questions, and guide you on your journey to becoming a contributor. I'm ready to assist you while you wait for a human maintainer. How can I help you today? The GitHub update status error with an empty URL occurs because the return d.Client.UpdateStatus(logger, repo, pull, status, src, descripWords, "") To resolve this issue, ensure that the GitHub token or app used by Atlantis has the necessary permissions to update commit statuses. Specifically, the token or app should have the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Fixed by #5586 |
…antis#5585). Signed-off-by: Maxim Masiuitn <[email protected]>
…antis#5585). Signed-off-by: Maxim Masiuitn <[email protected]>
…antis#5585). Signed-off-by: Maxim Masiuitn <[email protected]> Signed-off-by: Maxim Masiutin <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Community Note
Overview of the Issue
GitHub update status error is logged with empty URL as if there were misconfiguration, for example:
Reproduction Steps
Have a GitHub token or a GitHub app that does not have permission to update status on pull requests
Logs
See above the logs ("bold" emphasis mine).
Environment details
This does not depend on the environment, but happens with Github private repos.
Additional Context
Atlantis tries to log an URL, but the URL may be empty by design of the function calls, for example:
Conclusion
This bug report details an issue where updating a GitHub pull request’s status in a private repos causing an error misleadingly shows an empty URL.
The text was updated successfully, but these errors were encountered: