fix: add missing required properties to shields.io schema
Some checks failed
.NET / Build & Test (push) Failing after 2m27s
Some checks failed
.NET / Build & Test (push) Failing after 2m27s
This commit is contained in:
parent
c62194ee70
commit
9698a0b567
@ -63,10 +63,10 @@ public sealed class BadgeController : ControllerBase
|
|||||||
_ => "unknown"
|
_ => "unknown"
|
||||||
};
|
};
|
||||||
|
|
||||||
return Ok(new { color, message });
|
return Ok(new { schemaVersion = 1, label = "build", color, message });
|
||||||
}
|
}
|
||||||
|
|
||||||
return Ok(new { color = "lightgray", message = "unknown" });
|
return Ok(new { schemaVersion = 1, label = "build", color = "lightgray", message = "unknown" });
|
||||||
}
|
}
|
||||||
|
|
||||||
private class WorkflowRunSchema
|
private class WorkflowRunSchema
|
||||||
|
Loading…
Reference in New Issue
Block a user