File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed
Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 11name : Proto Push
22on :
3+ pull_request :
34 push :
45 tags :
56 - " v2*"
67
8+ permissions :
9+ contents : read
10+ pull-requests : write
711jobs :
812 proto-push :
913 name : " Push Protos"
@@ -14,25 +18,23 @@ jobs:
1418 - uses : bufbuild/buf-action@v1
1519 with :
1620 setup_only : true
17- github_token : ${{ secrets.GITHUB_TOKEN }}
1821
19- # TODO: also include v2/environments
2022 - uses : bufbuild/buf-action@v1
2123 with :
22- input : " rpc/flipt "
24+ input : " rpc"
2325 lint : true
2426
25- # TODO: also include v2/environments
2627 - uses : bufbuild/buf-action@v1
2728 with :
28- input : " rpc/flipt "
29+ input : " rpc"
2930 breaking : true
30- breaking_against : " https://github.com/${GITHUB_REPOSITORY} .git#branch=v2"
31+ breaking_against : " https://github.com/${{ github.repository }} .git#branch=v2,subdir=rpc "
3132
32- # TODO: we need to version the protos for pushing
33- # TODO: also include v2/environments
34- # - uses: bufbuild/buf-action@v1
35- # with:
36- # input: "rpc/flipt"
37- # push: true
38- # token: ${{ secrets.BUF_TOKEN }}
33+ # - uses: bufbuild/buf-action@v1
34+ # with:
35+ # input: "rpc"
36+ # exclude_paths: |
37+ # rpc/v2/analytics/analytics.proto
38+ # rpc/v2/evaluation/evaluation.proto
39+ # push: true
40+ # token: ${{ secrets.BUF_TOKEN }}
Original file line number Diff line number Diff line change 3030breaking :
3131 use :
3232 - FILE
33+ ignore :
34+ - rpc/v2/analytics
35+ - rpc/v2/evaluation
3336 except :
3437 - EXTENSION_NO_DELETE
3538 - FIELD_SAME_DEFAULT
You can’t perform that action at this time.
0 commit comments