Skip to content

Restructure CI to prepare for required checks and merge queues #61978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Jun 30, 2025

This pulls the same method I used in tsgo to add required checks, plus merge queues using only a subset of the checks. Annoying in this repo where we have such a large matrix to write out, but oh well. Supporting this many versions of Node is a temporary problem if anything.

Also, while here, test Node 24.

@Copilot Copilot AI review requested due to automatic review settings June 30, 2025 21:31
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jun 30, 2025
@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jun 30, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR restructures the GitHub Actions CI workflow to support merge queues with a subset of checks and to enforce required checks before merging.

  • Introduces a merge_group event trigger for queue-based merges.
  • Refactors the testing matrix into a single matrix.config array with per-item skip flags.
  • Adds a final required job that fails if any needed job did not succeed or was not skipped.
Comments suppressed due to low confidence (2)

.github/workflows/ci.yml:15

  • Remove or clarify this commented-out release-* branch entry under merge_group. If release branches should also go through merge queues, uncomment it or document the intention to avoid confusion.
      # - release-*

.github/workflows/ci.yml:31

  • [nitpick] The matrix.config section contains many nearly identical entries. Consider using YAML anchors or a small generation script to DRY up the repeated OS/node-version combinations and reduce maintenance overhead.
        config:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Status: Not started
Development

Successfully merging this pull request may close these issues.

2 participants