3 Commits

Author SHA1 Message Date
will.anderson f4e0a03314 fix(api): rename CommitStatus state json tag from 'status' to 'state'
Build & Push Gitea image / build-push (push) Successful in 8m28s
Aligns CommitStatus with CombinedStatus which already uses 'state'.
Fixes API inconsistency where individual statuses returned 'status'
but the combined endpoint returned 'state', causing client-side null
reads when accessing .state on individual CommitStatus objects.
2026-05-10 22:29:44 -05:00
will.anderson b1536a2384 fix(ci): semver-compatible version string
Build & Push Gitea image / build-push (push) Failing after 10m10s
2026-05-08 13:05:36 +00:00
will.anderson 6d72104631 chore: promote stage to main
Build & Push Gitea image / build-push (push) Successful in 2m37s
2026-05-08 06:20:37 +00:00
+1 -1
View File
@@ -14,7 +14,7 @@ type CommitStatus struct {
// ID is the unique identifier for the commit status
ID int64 `json:"id"`
// State represents the status state (pending, success, error, failure)
State commitstatus.CommitStatusState `json:"status"`
State commitstatus.CommitStatusState `json:"state"`
// TargetURL is the URL to link to for more details
TargetURL string `json:"target_url"`
// Description provides a brief description of the status