Merge pull request #9929 from continuedev/dallin/vscode-rg-403

fix: pass GITHUB_TOKEN to vscode e2e tests for ripgrep download
This commit is contained in:
Nate Sesti 2026-01-30 14:28:49 -08:00 • committed by GitHub
commit 4a2eb7e5dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -17,6 +17,10 @@ inputs:
description: "Whether this is a fork (affects SSH tests)"
required: false
default: "false"
github_token:
description: "GitHub token for authenticated API requests (e.g., @vscode/ripgrep download)"
required: false
default: ""
runs:
using: "composite"
@ -64,6 +68,8 @@ runs:
cd core
npm ci
fi
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
- name: Fix VSCode binary permissions
shell: bash

View file

@ -329,6 +329,7 @@ jobs:
ssh_key: ${{ secrets.GH_ACTIONS_SSH_TEST_KEY_PEM }}
ssh_host: ${{ secrets.GH_ACTIONS_SSH_TEST_DNS_NAME }}
is_fork: ${{ github.event.pull_request.head.repo.fork == true || github.actor == 'dependabot[bot]' }}
github_token: ${{ secrets.CI_GITHUB_TOKEN }}
jetbrains-tests:
runs-on: ubuntu-latest