Skip to content

Commit

Permalink
ci: Passing GITHUB_TOKEN to avoid rate limit (#3272)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Oct 13, 2023
1 parent 6fbdcf2 commit 2ce0e93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ inputs:
description: "This setup needs nextest or not"
need-protoc:
description: "This setup needs protoc or not"
github-token:
description: "Github Token"
default: ""

runs:
using: "composite"
Expand Down Expand Up @@ -54,6 +57,7 @@ runs:
uses: arduino/setup-protoc@v2
with:
version: "23.4"
repo-token: ${{ inputs.github-token }}

- name: Cache nextest on linux
id: cache-nextest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/core_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
need-nextest: true
need-protoc: true
need-rocksdb: true
github-token: ${{ secrets.GITHUB_TOKEN }}

# Required by hdfs
- name: Setup java env
Expand Down

0 comments on commit 2ce0e93

Please sign in to comment.