Skip to content

Commit 561b696

Browse files
chore(proto): scope gate cardinality break suppression inline
Move the FIELD_SAME_CARDINALITY exception from buf.yaml to an inline ignore on PolicyAttachment.gate in crafting_schema.proto limiting the suppression to the specific field change. Signed-off-by: Matías Insaurralde <matias@chainloop.dev>
1 parent 55e399f commit 561b696

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/controlplane/api/workflowcontract/v1/crafting_schema.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ message PolicyAttachment {
240240
// - true: policy violations are blocking for this policy
241241
// - false: policy violations are non-blocking for this policy
242242
// - unset: inherit organization-level default behavior
243+
// buf:breaking:ignore FIELD_SAME_CARDINALIT
243244
optional bool gate = 7;
244245

245246
message MaterialSelector {

0 commit comments

Comments
 (0)