Skip to content

Commit

Permalink
chore(ci): specify repo token in setup-protoc (#6274)
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker authored Nov 21, 2022
1 parent a48325d commit 34cac05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ jobs:
- uses: actions-rs/toolchain@v1
- uses: taiki-e/install-action@nextest
- uses: arduino/setup-protoc@v1
# this avoids rate-limiting
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: cargo build
run: |
cargo build --all-features
Expand Down Expand Up @@ -138,6 +141,9 @@ jobs:
runs-on: [ubuntu-ghcloud]
steps:
- uses: arduino/setup-protoc@v1
# this avoids rate-limiting
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 34cac05

Please sign in to comment.