Skip to content

Conversation

@nev21
Copy link
Contributor

@nev21 nev21 commented Dec 18, 2025

This workflow automatically syncs the rush.json version with changes made by Dependabot to package.json and related files. It detects changes, updates the rush.json version, runs rush update, and commits the changes if any are detected.

This workflow automatically syncs the rush.json version with changes made by Dependabot to package.json and related files. It detects changes, updates the rush.json version, runs rush update, and commits the changes if any are detected.
Copilot AI review requested due to automatic review settings December 18, 2025 17:05
@nev21 nev21 requested a review from a team as a code owner December 18, 2025 17:05
Copy link
Contributor

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 adds a GitHub Actions workflow to automatically synchronize the rush.json configuration file when Dependabot updates the @microsoft/rush dependency in package.json files. The workflow detects Rush version changes, updates the rush.json file accordingly, runs rush update to regenerate lockfiles, and commits the changes back to the pull request.

Key changes:

  • New automated workflow triggered on Dependabot pull requests that modify package.json, rush.json, or common-versions.json files
  • Two-job workflow: detection job identifies if @microsoft/rush was updated, and update job syncs rush.json and regenerates lockfiles
  • Automated commit and push mechanism to apply changes directly to Dependabot PRs

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

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.89%. Comparing base (746ce64) to head (8d73695).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #483   +/-   ##
=======================================
  Coverage   98.89%   98.89%           
=======================================
  Files         108      108           
  Lines        2981     2981           
  Branches      621      622    +1     
=======================================
  Hits         2948     2948           
  Misses         33       33           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Updated the workflow to improve file handling and permissions.
@nev21 nev21 enabled auto-merge (squash) December 19, 2025 08:05
@nev21 nev21 disabled auto-merge December 19, 2025 08:16
@nev21 nev21 merged commit f6f0ad0 into main Dec 21, 2025
11 checks passed
@nev21 nev21 deleted the nev21/sync-rush branch December 21, 2025 01:57
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