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
Our company has a service that is grabbing GitHub workflow run data and then store it locally for further analysis. However the library was throwing exceptions for some of those workflow runs with the message Value 'startup_failure' is not a valid 'WorkflowRunConclusion' enum value. I've checked the source code of Octokit.NET and it wasn't there indeed, so I've checked GitHub API reference to make sure this is properly documented. However, all of the REST API documentation doesn't mention this conclusion anywhere (Using the REST API to interact with checks, Check Runs REST API, Workflow runs REST API, Creating CI tests with the Checks API) and the only place this conclusion is mentioned is in GraphQL reference.
I have prepared a branch with the fix to the library (however the GitHub documentation is still broken), so the pull request should follow shortly after the issue.
also misc: the Code of Conduct link is broken in the issue template and actually is leading to issues :p
Versions
Octokit.Net 4.0.2, .NET 6.0.14
Relevant log output
System.ArgumentException: Value 'startup_failure' is not a valid 'WorkflowRunConclusion' enum value.
File "/home/runner/work/octokit.net/octokit.net/Octokit/Models/Response/StringEnum.cs", line 146, col 17, in ParseValue
File "/home/runner/work/octokit.net/octokit.net/Octokit/Models/Response/StringEnum.cs", line 45, col 19, in get_Value
... application stacktrace ...
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
Our company has a service that is grabbing GitHub workflow run data and then store it locally for further analysis. However the library was throwing exceptions for some of those workflow runs with the message
Value 'startup_failure' is not a valid 'WorkflowRunConclusion' enum value
. I've checked the source code of Octokit.NET and it wasn't there indeed, so I've checked GitHub API reference to make sure this is properly documented. However, all of the REST API documentation doesn't mention this conclusion anywhere (Using the REST API to interact with checks, Check Runs REST API, Workflow runs REST API, Creating CI tests with the Checks API) and the only place this conclusion is mentioned is in GraphQL reference.I have prepared a branch with the fix to the library (however the GitHub documentation is still broken), so the pull request should follow shortly after the issue.
also misc: the Code of Conduct link is broken in the issue template and actually is leading to issues :p
Versions
Octokit.Net 4.0.2, .NET 6.0.14
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: