mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
GHA: Add GITHUB_TOKEN to proto-lint.yml workflow to prevent rate limit issues (#2042)
* Initial plan * Add GITHUB_TOKEN to proto-lint.yml workflow to prevent rate limit issues Co-authored-by: thrasher- <4685270+thrasher-@users.noreply.github.com> * Add github_token parameter to buf actions to ensure proper GitHub API authentication Co-authored-by: thrasher- <4685270+thrasher-@users.noreply.github.com> * Remove github_token from buf-lint-action steps as only needed on buf-setup-action Co-authored-by: thrasher- <4685270+thrasher-@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thrasher- <4685270+thrasher-@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/proto-lint.yml
vendored
4
.github/workflows/proto-lint.yml
vendored
@@ -2,6 +2,8 @@ name: proto-checks
|
||||
'on':
|
||||
- push
|
||||
- pull_request
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
jobs:
|
||||
proto-lint:
|
||||
name: proto-checks
|
||||
@@ -22,6 +24,8 @@ jobs:
|
||||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||
|
||||
- uses: bufbuild/buf-setup-action@v1.50.0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: buf generate
|
||||
working-directory: ./gctrpc
|
||||
|
||||
Reference in New Issue
Block a user