Merge branch 'main' into feature/admin
Some checks failed
.NET / Build & Test (push) Failing after 1m7s
Some checks failed
.NET / Build & Test (push) Failing after 1m7s
This commit is contained in:
commit
9ea4425c26
@ -74,10 +74,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
|
||||||
|
@ -74,10 +74,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