Skip to content

Commit 84bf80c

Browse files
committed
refactor(api): allow deleting reserved attestation/bundle fields
Ignore the `FIELD_NO_DELETE` breaking-change rule for `workflow_run.proto`. The deprecated `attestation` and `bundle` fields are removed in this change; their tag numbers and names are reserved in the proto to prevent accidental reuse. Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
1 parent 012eb62 commit 84bf80c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

buf.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ modules:
5252
except:
5353
- EXTENSION_NO_DELETE
5454
- FIELD_SAME_DEFAULT
55+
ignore_only:
56+
# Deprecated `attestation` and `bundle` fields were removed in favor of `attestation_bundle`;
57+
# their tag numbers and names are `reserved` in the proto to prevent accidental reuse.
58+
FIELD_NO_DELETE:
59+
- app/controlplane/api/controlplane/v1/workflow_run.proto
5560
- path: app/controlplane/internal/conf
5661
lint:
5762
use:

0 commit comments

Comments
 (0)