Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
Remove passing of `GH_TOKEN`, as it is too coarse grain and could have security implications

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
  • Loading branch information
NobodyXu authored Aug 8, 2024
1 parent 9060994 commit 8083570
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ jobs:
defaults:
run:
shell: bash
env:
# cargo-binstall uses GitHub Restful API to speedup resolution.
# The API limits usage for unauthorized users, with a GH_TOKEN,
# we can make sure binstall does not get rate limited by GitHub
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Fetch source
Expand Down

0 comments on commit 8083570

Please sign in to comment.