Skip to content

Commit

Permalink
fix: help the CI avoid ratelimits by authenticating ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
klaernie committed Jan 13, 2025
1 parent f029f8e commit 84b1893
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ on:
pull_request:
branches: [master, beta]

permissions:
contents: read

jobs:
build_and_lint:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
env:
# octokit tries to use GITHUB_TOKEN opportunistically, so providing the token should increase our rate limits
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 84b1893

Please sign in to comment.