Due to GitLab docs we should prefer using head_pipeline instead of pipeline as it contains more information.
Additional to that, sometimes I caught crashes on danger-kotlin when pipeline status was incorrect in that field or even when pipeline field was null.
But I can't just mark pipeline field as nullable, cause it will cause backward incompatibility.
Due to GitLab docs we should prefer using
head_pipeline
instead ofpipeline
as it contains more information.Additional to that, sometimes I caught crashes on danger-kotlin when
pipeline
status was incorrect in that field or even whenpipeline
field wasnull
. But I can't just markpipeline
field as nullable, cause it will cause backward incompatibility.