Skip to content

Commit 45db7a3

Browse files
committed
ci: add GitHub token to buf-setup-action to avoid API rate limits
The buf-setup-action was hitting GitHub API rate limits for unauthenticated requests. Adding the GITHUB_TOKEN allows authenticated requests which have a much higher rate limit.
1 parent 015d69b commit 45db7a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919

2020
- name: Setup Buf
2121
uses: bufbuild/buf-setup-action@v1
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
2224

2325
- name: Configure Buf Registry
2426
run: |

0 commit comments

Comments
 (0)