diff --git a/.github/actions/run-vscode-e2e-test/action.yml b/.github/actions/run-vscode-e2e-test/action.yml index d9ac252af..73734eb1c 100644 --- a/.github/actions/run-vscode-e2e-test/action.yml +++ b/.github/actions/run-vscode-e2e-test/action.yml @@ -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 diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml index 1cde9fea9..ffc462ea7 100644 --- a/.github/workflows/pr-checks.yaml +++ b/.github/workflows/pr-checks.yaml @@ -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