diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index 2adc5d67a2ca..1641ad8ee6fa 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -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" @@ -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 diff --git a/.github/workflows/core_test.yml b/.github/workflows/core_test.yml index a92cadd9a3f6..9cd213d4e817 100644 --- a/.github/workflows/core_test.yml +++ b/.github/workflows/core_test.yml @@ -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