Other TanStack repositories use three composite actions from this repository:
The three actions share one version. Pin them to the commit of a release and put the release tag in the comment:
- name: Setup Tools
uses: TanStack/config/.github/setup@<commit-sha> # v1.0.0Each "Actions vX.Y.Z" release lists the commit to pin. Renovate updates the commit and the comment together when a new release exists.
Do not put # main in the comment. zizmor checks that the ref in the comment still points at the pinned commit, and main moves with every package release.
Changesets versions the actions as the private package @tanstack/config-actions in .github/package.json. When you change an action, add a changeset for that package. After the "Version Packages" pull request is merged, release.yml creates the vX.Y.Z release for the new version.
Changesets would tag the package as @tanstack/config-actions@X.Y.Z, and Renovate does not read that as a version. The workflow creates the plain vX.Y.Z tag for that reason.
Release tags are immutable. Do not add a moving v1 tag: a # v1 comment would fail zizmor every time the tag moves.
The TanStack projects use Nx to enable rapid execution of our tests and builds. Tasks are parallelised and cached both locally and in CI. While Nx has an extensive plugin system, we only utilise Nx as an NPM script runner.