From ee08b68739ba08faddb0247d7838e73e0c378299 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Tue, 1 Aug 2023 15:26:42 -0700 Subject: [PATCH] Add token. --- .github/workflows/ci.yml | 2 ++ README.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf2dc65..e987d42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,3 +28,5 @@ jobs: - run: pnpm install - run: pnpm run build - uses: ./ # self + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index a9b4e0f..696917e 100644 --- a/README.md +++ b/README.md @@ -95,10 +95,12 @@ names. - uses: moonrepo/setup-rust@v1 with: bins: cargo-nextest, cargo-insta@1.28.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` > Binaries are installed with [`cargo-binstall`](https://crates.io/crates/cargo-binstall) under the -> hood. +> hood. We suggest setting `GITHUB_TOKEN` to avoid rate limiting. ## Caching in CI