File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 21
21
with :
22
22
fetch-depth : 0
23
23
24
- - uses : bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
25
- - uses : bufbuild/buf-push-action@a654ff18effe4641ebea4a4ce242c49800728459 # v1.2.0
24
+ - uses : bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
26
25
with :
26
+ push : true
27
27
buf_token : ${{ secrets.BUF_TOKEN }}
28
28
- name : Send PagerDuty alert on failure
29
29
if : ${{ failure() }}
Original file line number Diff line number Diff line change @@ -13,23 +13,25 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- uses : actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
16
+ - uses : bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
16
17
with :
17
- fetch-depth : 0
18
- - uses : bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
19
- - uses : bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
20
- - uses : bufbuild/buf-breaking-action@c57b3d842a5c3f3b454756ef65305a50a587c5ba # v1.1.4
21
- with :
22
- # The 'main' branch of the GitHub repository that defines the module.
23
- against : " https://github.com/${GITHUB_REPOSITORY}.git#branch=${GITHUB_BASE_REF}"
24
- - run : buf format -d --exit-code
18
+ format : true
19
+ lint : true
20
+ breaking : true
21
+ pr_comment : false
22
+ input : ' proto'
23
+ breaking_against : " https://github.com/openfga/api.git#branch=main,subdir=proto"
25
24
26
25
diff-openapi :
27
26
runs-on : ubuntu-latest
28
27
steps :
29
28
- uses : actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
30
29
with :
31
30
fetch-depth : 0
32
- - uses : bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
31
+ # Install BUF CLI
32
+ - uses : bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
33
+ with :
34
+ setup_only : true
33
35
- name : " Generate OpenAPI & Diff"
34
36
run : |
35
37
make all
You can’t perform that action at this time.
0 commit comments