Skip to content

Commit 93a831e

Browse files
committed
Authenticate ripgrep install in CI
Pass the read-only GitHub Actions token to root bun install steps so @vscode/ripgrep postinstall can query GitHub release metadata without hitting unauthenticated API limits.
1 parent b363367 commit 93a831e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838

3939
- name: Install dependencies
4040
run: bun install --frozen-lockfile
41+
env:
42+
GITHUB_TOKEN: ${{ github.token }}
4143

4244
- name: Smoke check
4345
run: bun run smoke

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858

5959
- name: Install dependencies
6060
run: bun install --frozen-lockfile
61+
env:
62+
GITHUB_TOKEN: ${{ github.token }}
6163

6264
- name: Run unit tests
6365
run: bun test --max-concurrency=1

0 commit comments

Comments
 (0)