From ef537586973080d634e98fcf9d4a994bad9866a4 Mon Sep 17 00:00:00 2001 From: Jake Coffman Date: Mon, 12 Feb 2024 12:28:36 -0600 Subject: [PATCH] adds the new `applies-to` field (#277) --- internal/model/job.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/model/job.go b/internal/model/job.go index 2ab5da1..8da1c90 100644 --- a/internal/model/job.go +++ b/internal/model/job.go @@ -83,6 +83,7 @@ type Allowed struct { type Group struct { GroupName string `json:"name,omitempty" yaml:"name,omitempty"` + AppliesTo *string `json:"applies-to,omitempty" yaml:"applies-to,omitempty"` Rules map[string]any `json:"rules,omitempty" yaml:"rules,omitempty"` }