Skip to content

ci: update github workflows#295

Merged
lachlancollins merged 2 commits intomainfrom
update-workflows
Mar 17, 2026
Merged

ci: update github workflows#295
lachlancollins merged 2 commits intomainfrom
update-workflows

Conversation

@lachlancollins
Copy link
Member

@lachlancollins lachlancollins commented Mar 17, 2026

🎯 Changes

Add changeset version preview (see TanStack/router#6937 and TanStack/config#356)

Add comments on releases (see TanStack/config#323)

Remove GITHUB_TOKEN from changesets/action

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Summary by CodeRabbit

  • Chores
    • Updated CI/CD workflows to use latest versions of GitHub Actions and optimized workflow configurations for improved automation efficiency.

@changeset-bot
Copy link

changeset-bot bot commented Mar 17, 2026

⚠️ No Changeset found

Latest commit: fff8cb9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

Updates to three GitHub Actions workflows to bump checkout action from v6.0.1 to v6.0.2, change setup action capitalization from tanstack to TanStack, add a Version Preview job to the PR workflow, and refactor the release workflow to use a reusable comment-on-release action.

Changes

Cohort / File(s) Summary
Checkout Action Bump
.github/workflows/autofix.yml, .github/workflows/pr.yml, .github/workflows/release.yml
Updated GitHub Actions checkout action from v6.0.1 to v6.0.2 across all workflow files.
Setup Action Capitalization
.github/workflows/autofix.yml, .github/workflows/pr.yml, .github/workflows/release.yml
Changed setup action reference from tanstack/config to TanStack/config (capitalization correction applied to multiple steps).
PR Workflow Enhancements
.github/workflows/pr.yml
Added new "Version Preview" job with changeset-preview step, added main-branch-name input to nx-set-shas step, added pull-requests: write permission.
Release Workflow Refactoring
.github/workflows/release.yml
Introduced id: changesets on Run Changesets step, removed GITHUB_TOKEN environment variable, replaced inline comment logic with reusable TanStack/config/.github/comment-on-release@main action.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Workflows now hop with TanStack pride,
Version checks and previews side by side,
Checkout bumped, permissions aligned,
Release comments refined—
Configuration harmonized, all unified! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'ci: update github workflows' is vague and generic. It uses non-descriptive terms that don't convey the specific changes being made. Make the title more specific by mentioning key changes: e.g., 'ci: add changeset preview and release comments' would better highlight the main additions.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description follows the template structure with all required sections completed. It clearly explains the three main changes with references to related PRs and confirms checklist items and release impact status.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-workflows
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

@nx-cloud
Copy link

nx-cloud bot commented Mar 17, 2026

View your CI Pipeline Execution ↗ for commit fff8cb9

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 20s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-17 13:15:23 UTC

@github-actions
Copy link
Contributor

🚀 Changeset Version Preview

No changeset entries found. Merging this PR will not cause a version bump for any packages.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 17, 2026

@tanstack/angular-store

npm i https://pkg.pr.new/@tanstack/angular-store@295

@tanstack/preact-store

npm i https://pkg.pr.new/@tanstack/preact-store@295

@tanstack/react-store

npm i https://pkg.pr.new/@tanstack/react-store@295

@tanstack/solid-store

npm i https://pkg.pr.new/@tanstack/solid-store@295

@tanstack/store

npm i https://pkg.pr.new/@tanstack/store@295

@tanstack/svelte-store

npm i https://pkg.pr.new/@tanstack/svelte-store@295

@tanstack/vue-store

npm i https://pkg.pr.new/@tanstack/vue-store@295

commit: fff8cb9

@lachlancollins lachlancollins merged commit 4ac32a1 into main Mar 17, 2026
6 of 7 checks passed
@lachlancollins lachlancollins deleted the update-workflows branch March 17, 2026 13:16
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