Skip to content

CI(Windows): pass GITHUB_TOKEN to compile prepack step to prevent GitHub API 403s - #1

Draft
CodeCloner-A with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-failing-github-actions-job-compile
Draft

CI(Windows): pass GITHUB_TOKEN to compile prepack step to prevent GitHub API 403s#1
CodeCloner-A with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-failing-github-actions-job-compile

Conversation

Copilot AI commented Jul 8, 2026

Copy link
Copy Markdown

The CI - Build - Windows compile job failed in vscode-min-prepack due to repeated unauthenticated GitHub API requests returning 403 (rate-limited). This PR wires token auth into the failing step so release-metadata fetches can complete under CI.

  • Workflow change

    • Updated .github/workflows/ci-build-windows.yml in jobs.compile -> Build -> env to include GITHUB_TOKEN.
  • Failure mode addressed

    • The prepack phase resolves upstream VS Code extension release tags via api.github.com; without auth, retries exhausted and the job exited non-zero.
  • Patch excerpt

    - name: Build
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SHOULD_BUILD: yes
        SHOULD_BUILD_REH: no
        SHOULD_BUILD_REH_WEB: no
      run: ./build.sh

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'compile' CI(Windows): pass GITHUB_TOKEN to compile prepack step to prevent GitHub API 403s Jul 8, 2026
Copilot AI requested a review from CodeCloner-A July 8, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants