Skip to content

fix(ci): skip version check on changeset-release PRs#342

Merged
pasevin merged 1 commit intomainfrom
fix/check-versions-skip-changeset-prs
Feb 19, 2026
Merged

fix(ci): skip version check on changeset-release PRs#342
pasevin merged 1 commit intomainfrom
fix/check-versions-skip-changeset-prs

Conversation

@pasevin
Copy link
Collaborator

@pasevin pasevin commented Feb 19, 2026

Summary

  • Fixes race condition between check-versions.yml and update-versions.yml workflows on changeset-release PRs
  • The check-versions job now skips when the PR branch starts with changeset-release/, since update-versions.yml already auto-commits the corrected versions.ts for those PRs
  • Regular developer PRs still get the version sync check enforced

Context

When the changesets bot creates/updates the "Version Packages" PR, both check-versions and update-versions workflows fire concurrently. check-versions fails because versions.ts hasn't been updated yet, while update-versions commits the fix seconds later. The push from update-versions doesn't always trigger new CI runs, leaving the PR stuck with a failed check.

Test plan

  • Verify the if condition syntax is correct for GitHub Actions
  • After merge, confirm check-versions is skipped on PR Version Packages #341 (changeset-release PR)
  • Verify check-versions still runs on regular PRs targeting main

The check-versions and update-versions workflows race on
changeset-release PRs. update-versions already auto-commits
the corrected versions.ts, making the check redundant and
causing spurious failures.
@pasevin pasevin requested a review from a team as a code owner February 19, 2026 22:18
@pasevin pasevin merged commit 032a73f into main Feb 19, 2026
11 checks passed
@pasevin pasevin deleted the fix/check-versions-skip-changeset-prs branch February 19, 2026 22:26
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.

1 participant

Comments