Skip to content

Commit

Permalink
use github token for protobuf github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t committed Jul 10, 2024
1 parent 11c5959 commit c0d2e59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/buf-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.34.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-push-action@v1
with:
input: "proto"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.34.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ github.token }}
- uses: bufbuild/buf-lint-action@v1
with:
input: "proto"
Expand All @@ -155,6 +155,8 @@ jobs:
go-version: ${{ env.go_version }}
check-latest: true
- uses: bufbuild/buf-setup-action@v1.34.0
with:
github_token: ${{ github.token }}
- shell: bash
run: scripts/protobuf_codegen.sh
- shell: bash
Expand Down

0 comments on commit c0d2e59

Please sign in to comment.