From 1cf0c14a44ed5ddb01149d37d97c7cf63e042da5 Mon Sep 17 00:00:00 2001 From: subencheng Date: Fri, 29 May 2026 15:56:40 -0700 Subject: [PATCH] baton-github: add optinRequired to licence resource type --- pkg/connector/connector.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/connector/connector.go b/pkg/connector/connector.go index 7705b46c..5d1590a2 100644 --- a/pkg/connector/connector.go +++ b/pkg/connector/connector.go @@ -97,7 +97,13 @@ var ( Id: "license", DisplayName: "License", Traits: []v2.ResourceType_Trait{v2.ResourceType_TRAIT_LICENSE_PROFILE}, - Annotations: skipEntitlementsAnnotations("license"), + Annotations: annotations.New( + &v2.V1Identifier{ + Id: "license", + }, + &v2.SkipEntitlements{}, + &v2.OptInRequired{}, + ), } )