Unknown value startup_failure
iamironz opened this issue ยท 4 comments
iamironz commented
Describe the bug
Hey!
It looks like startup_failure
conclusion status has not been added yet into the library itself, but it is presented in REST API:
WARNING: Unknown value startup_failure for enum class org.kohsuke.github.GHWorkflowRun$Conclusion, defaulting to UNKNOWN
To Reproduce
Steps to reproduce the behavior:
- Call
listWorkflows
and filter to the one that has "failed to start" runs - Call
listRuns
for this instance - Call
withPageSize(n)
(to limit the output size) to the point wherestartup_failure
is presented andtoList
- Call
getConclusion
method
Expected behavior
No warnings on getConclusion
method call
Version:
- Library version
1.316
gsmet commented
Looks like a good opportunity to contribute :).
yasin-herken commented
I want to work on it
bitwiseman commented
@yasin-herken Go ahead.
yasin-herken commented
I couldn't figure out how to add workflow according to the Conclusion enum class but I added a test just in case