Skip to content

Conversation

@Nsttt
Copy link
Contributor

@Nsttt Nsttt commented Jan 31, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 31, 2026 07:54
Copy link

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 integrates Changesets into the repo and updates the release workflows to support snapshot/preview releases and automated release PRs.

Changes:

  • Add @changesets/cli as a dev dependency and expose changeset helper scripts in package.json, updating pnpm-lock.yaml accordingly.
  • Introduce .changeset/config.json and an initial changeset to manage versioning for @module-federation/vite.
  • Enhance the Release workflow to handle latest vs next flows and add a new Release Pull Request workflow that uses module-federation/actions with Changesets.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pnpm-lock.yaml Locks in @changesets/cli and its dependency graph plus related tooling required by the new workflows.
package.json Adds Changesets CLI as a dev dependency and new changeset/changeset:status scripts for local release management.
.github/workflows/release.yml Extends the manual release workflow with inputs for version/branch, preview (snapshot) versioning via Changesets, and separate latest/next publish steps.
.github/workflows/release-pull-request.yml Adds a new workflow to create release PRs using module-federation/actions and Changesets tooling.
.changeset/misty-hounds-laugh.md Introduces an initial patch-level changeset for @module-federation/vite.
.changeset/config.json Configures Changesets behavior (changelog generator, base branch, access, fixed packages, and ignore patterns).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +22 to +23
- name: Checkout Repo
uses: actions/checkout@master
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

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

This workflow uses actions/checkout@master, which is unpinned and goes against the convention elsewhere in this repo of pinning GitHub Actions to a major version (for example, .github/workflows/release.yml and unit-test.yml both use actions/checkout@v5). To reduce the risk of unexpected breaking changes and keep workflows consistent, consider switching this to a pinned major version such as actions/checkout@v5.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

@gioboa gioboa left a comment

Choose a reason for hiding this comment

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

That's amazing 👏 @Nsttt

@gioboa gioboa merged commit 7057a54 into module-federation:main Jan 31, 2026
9 of 10 checks passed
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