Skip to content

Migrate CI pipelines from ADO to GitHub Actions - #287

Merged
rzhao271 merged 3 commits into
mainfrom
copilot/migrate-ci-pipelines-to-github-actions
Jul 28, 2026
Merged

Migrate CI pipelines from ADO to GitHub Actions#287
rzhao271 merged 3 commits into
mainfrom
copilot/migrate-ci-pipelines-to-github-actions

Conversation

Copilot AI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The CI pipelines were running on Azure DevOps. This migrates them to GitHub Actions, keeping publishing pipelines on ADO unchanged.

New workflow: .github/workflows/ci.yml

Replicates the three-platform CI matrix from azure-pipelines.yml:

  • Linux — installs display dependencies (libxkbfile-dev, libgtk-3-0, etc.), starts Xvfb :10, runs tests with DISPLAY=:10
  • Windows — runs with PATHEXT=.COM;.EXE;.BAT;.CMD
  • macOS — adds esbuild:apiTests + test:apiWebTests (Playwright/Chromium) before the standard test run

All jobs: npm installcompilelinttest, Node.js pinned to 22.22.1.

Triggers match the original: push to any branch or release/*/* tags; PRs targeting main or release/**.

Unchanged

Publishing pipelines (build/azure-pipelines/pipeline.yml, wasm-wasi-core/build/, webshell/build/) remain on ADO.

@rzhao271 rzhao271 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Add persist-credentials false to the checkout, use full semver versions for the tasks and confirm they are on the latest ones, and also confirm that permissions can be set to {}

Copilot AI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Add persist-credentials false to the checkout, use full semver versions for the tasks and confirm they are on the latest ones, and also confirm that permissions can be set to {}

Done in the latest commit. Here's what was updated:

  • persist-credentials: false added to all three actions/checkout steps.
  • Actions upgraded to their latest semver releases: actions/checkout@v7.0.1 and actions/setup-node@v7.0.0 (verified against each repo's latest release).
  • permissions: {} added at the workflow level — this CI pipeline only reads source code and runs tests, so no GitHub token permissions are required.

Copilot AI requested a review from rzhao271 July 27, 2026 22:19
@rzhao271
rzhao271 marked this pull request as ready for review July 27, 2026 22:20
Bump @vscode/test-electron to ^3.1.0 to fix macOS CI failure

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@rzhao271
rzhao271 enabled auto-merge (squash) July 27, 2026 22:56
@rzhao271
rzhao271 merged commit 4b5e149 into main Jul 28, 2026
13 checks passed
@rzhao271
rzhao271 deleted the copilot/migrate-ci-pipelines-to-github-actions branch July 28, 2026 04:06
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.

4 participants