fix: add missing required properties to shields.io schema
Some checks failed
.NET / Build & Test (push) Failing after 2m27s

This commit is contained in:
Oliver Booth 2024-03-16 18:09:12 +00:00
parent c62194ee70
commit 9698a0b567
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -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