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

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
1 changed files with 2 additions and 2 deletions

View File

@ -63,10 +63,10 @@ public sealed class BadgeController : ControllerBase
_ => "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