From 8bcc5efccc26f5becb87ed765eedc5bde85d5de8 Mon Sep 17 00:00:00 2001 From: Vishnu Jayadevan Date: Fri, 20 Oct 2023 14:15:00 +0530 Subject: [PATCH] feat: Add CheckRun type. --- types/atlas_reception.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/types/atlas_reception.go b/types/atlas_reception.go index af5053e..63ad026 100644 --- a/types/atlas_reception.go +++ b/types/atlas_reception.go @@ -100,6 +100,19 @@ type AnalysisRun struct { Meta map[string]string `json:"_meta"` } +// CheckRun represents a single check run. +type CheckRun struct { + RunID string `json:"run_id"` + RunSerial string `json:"run_serial"` + Config string `json:"config"` + DSConfigUpdated bool `json:"ds_config_updated"` + IsFullRun bool `json:"is_full_run"` + VCSMeta AnalysisRunVCSMeta `json:"vcs_meta"` + Keys Keys `json:"keys"` + Check Check `json:"check"` + Meta map[string]string `json:"_meta"` +} + //proteus:generate type IDERun struct { RunID string `json:"run_id"`