Skip to content

Commit

Permalink
pass github_token: ${{ secrets.GITHUB_TOKEN }} to bufbuilder action (#…
Browse files Browse the repository at this point in the history
…1099)

Had a recent CI failure:
Warning: No github_token supplied, API requests will be subject to stricter rate limiting
Setting up buf version "1.28.1"
Resolving the download URL for the current platform...
Error: API rate limit exceeded for 20.172.2.98
  • Loading branch information
serprex authored Jan 18, 2024
1 parent 304841a commit f504b1e
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
workspaces: nexus

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/customer-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
submodules: recursive

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
submodules: recursive

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
uses: actions/checkout@v4

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/golang-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: setup protos
run: |
./generate_protos.sh
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rust-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ jobs:
submodules: recursive

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
./generate_protos.sh
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/stable-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
submodules: recursive

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ui-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
uses: actions/checkout@v4

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
./generate_protos.sh
- name: Install Node.js dependencies
working-directory: ui
run: npm ci
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ui-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
uses: actions/checkout@v4

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: setup protos
run: |
Expand Down

0 comments on commit f504b1e

Please sign in to comment.