Skip to content

Commit 24bfb86

Browse files
authored
fix(ci): add subdir to against input for buf breaking (#4)
- check for breaking changes rules PACKAGE,WIRE,WIRE_JSON
1 parent 396947c commit 24bfb86

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/proto-checks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
jobs:
88
buflint:
9-
name: lint
9+
name: Buf Lint
1010
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
@@ -27,4 +27,4 @@ jobs:
2727
- uses: bufbuild/buf-breaking-action@a074e988ee34efcd4927079e79c611f428354c01
2828
with:
2929
input: proto
30-
against: 'https://github.com/opentdf/opentdf-v2-poc.git#branch=main'
30+
against: 'https://github.com/opentdf/opentdf-v2-poc.git#branch=main,subdir=proto'

proto/buf.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ deps:
66
breaking:
77
use:
88
- FILE
9+
- PACKAGE
10+
- WIRE_JSON
11+
- WIRE
912
lint:
1013
use:
1114
- DEFAULT

0 commit comments

Comments
 (0)