Skip to content

Commit 3736d5d

Browse files
committed
ci: fix buf action
Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
1 parent 7a6abee commit 3736d5d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/proto-push.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Proto Push
22
on:
3+
pull_request:
4+
workflow_dispatch:
35
push:
46
tags:
57
- "v2*"
68

9+
permissions:
10+
contents: read
711
jobs:
812
proto-push:
913
name: "Push Protos"
@@ -14,7 +18,6 @@ jobs:
1418
- uses: bufbuild/buf-action@v1
1519
with:
1620
setup_only: true
17-
github_token: ${{ secrets.GITHUB_TOKEN }}
1821

1922
# TODO: also include v2/environments
2023
- uses: bufbuild/buf-action@v1
@@ -27,7 +30,7 @@ jobs:
2730
with:
2831
input: "rpc/flipt"
2932
breaking: true
30-
breaking_against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=v2"
33+
breaking_against: .git#branch=v2
3134

3235
# TODO: we need to version the protos for pushing
3336
# TODO: also include v2/environments

0 commit comments

Comments
 (0)