Mateusz Burzyński
219ea82e52
Remove setup-git-user in favor of setting fallback only when identity is missing ( #688 )
...
* Experiment with skipping setup-git-user more often
* drop setup-git-user
* fix tests
2026-07-27 05:02:39 +00:00
Bjorn Lu
469993ce57
Remove npm auth handling in favor of docs ( #695 )
...
* Add docs for npm auth setup
* Show bash examples
* Improve bash pattern
* Update and reference docs
* Remove setup auth code
* Update
* Update
* Update
2026-07-24 15:24:09 +00:00
Mateusz Burzyński
5b307d3df2
Validate that projects use Changesets CLI v3 and direct Changesets CLI v2 users to changesets/action@v1 ( #699 )
...
* Validate that projects use Changesets CLI v3 and direct Changesets CLI v2 users to `changesets/action@v1`
* better spy/mocking
* fmt
* shuffle
2026-07-23 09:34:32 +00:00
Mateusz Burzyński
84d78c68f9
Allow custom publish scripts to complete without a Changesets output file ( #697 )
2026-07-22 06:31:15 +00:00
changesets-org-version-bot[bot] and github-actions[bot]
4b6e1f1099
Version Packages (next) ( #677 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-01 12:28:07 +00:00
Mateusz Burzyński
cf45e93c21
Use split publishing workflow ( #679 )
...
* fix release line timing
* Use split publishing workflow
* remove release check, handle through publish plan
* remove unused script
* remove unused publish plan output
* fmt
* update a thing
* fmt
* simplify
* update pre
* update changesets cli
2026-07-01 12:24:41 +00:00
Bjorn Lu
73591071e6
Rename root action inputs and outputs ( #681 )
2026-07-01 12:08:50 +00:00
Mateusz Burzyński
f71ae043ed
Expect publish output to be shared through a file ( #678 )
...
* Expect publish output to be shared through a file
* throw at all times
* match latest changes
* fmt
* rename things
* update changesets
* add changeset
2026-07-01 09:08:14 +00:00
Bjorn Lu
ca57073900
Split git tag and github release options ( #680 )
...
* Split git tag and github release options
* Rename to push-git-tags
* Validate inputs
2026-07-01 07:30:13 +00:00
Bjorn Lu
0eae789230
Rename to kebab-case for root action inputs and outputs ( #668 )
...
* Rename to kebab-case for root action inputs and outputs
* Throw on renamed inputs
2026-06-30 08:24:21 +00:00
Bjorn Lu
164652bdd6
Remove GITHUB_TOKEN env var support ( #674 )
2026-06-30 00:20:57 +00:00
Bjorn Lu and Mateusz Burzyński
823cf741ca
Update to changesets v3 packages ( #673 )
...
* Update to changesets v3 packages
* Dedupe
* Fix test
* Fix test 2
* update more
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-06-25 10:58:02 +00:00
changesets-org-version-bot[bot] and github-actions[bot]
b12c36a7bf
Version Packages (next) ( #671 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-24 10:28:35 +00:00
Mateusz Burzyński
5a8b9b721b
Avoid putting the github token in the global .netrc file ( #670 )
...
* Avoid putting the github token in the global `.netrc` file
* fix wording
2026-06-24 10:07:11 +00:00
changesets-org-version-bot[bot] and github-actions[bot]
0490518932
Version Packages (next) ( #664 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-23 11:29:25 +00:00
Mateusz Burzyński
dc29b738b5
Fix the /version subaction to not crash on missing pr-base-branch input ( #666 )
...
* use `getOptionalInput` consistently
* introduce `getRequiredInput`
* add changeset
2026-06-23 11:26:43 +00:00
Mateusz Burzyński
ccb38113ea
Fix the computed publish plan path passed internally to changeset pack by the /pack subaction ( #663 )
...
* Fix the computed publish plan path passed internally to `changeset pack` by the `/pack` subaction
* fix it
2026-06-23 10:00:39 +00:00
Mateusz Burzyński
5c88881fff
Fixed usage of --from-publish-plan flag used by the /pack subaction ( #662 )
2026-06-23 09:25:48 +00:00
5210f6da68
Version Packages (next) ( #660 )
...
* Version Packages (next)
* fmt
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-06-23 06:56:02 +00:00
Bjorn Lu and Mateusz Burzyński
a12d90de83
Add select-mode, version, pack and publish sub-actions ( #656 )
...
* Add select-mode, version, and publish sub-actions
* Rename
* No github-token needed for select-mode for now
* extend select-mode with publish-plan check and upload
* Rename base-branch to pr-base-branch
* add `pack` subaction
* `--from-pack` support in the publish subaction
* rename CLI arg
* update rolldown config
* rename pack dir input/output
* tweak retendion days
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-06-23 06:42:37 +00:00
Bjorn Lu
5649ff41b8
Remove cwd option ( #659 )
2026-06-23 06:35:46 +00:00
Mateusz Burzyński
4f718b5921
Removed compatibility support for old Changesets v1 ( #657 )
2026-06-15 08:03:20 +00:00
Mateusz Burzyński
1bf7c2782b
Enter pre mode ( #652 )
2026-06-10 08:23:13 +00:00
github-actions[bot]
b459b1eaa0
Version Packages ( #637 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-03 07:02:05 +00:00
Mateusz Burzyński
f9585d966a
Update @changesets/ghcommit ( #645 )
...
* Update `@changesets/ghcommit`
* add changeset
* update ghcommit more
2026-06-02 13:54:38 +00:00
Bjorn Lu
b072bccc4c
Add simple PR comment sub-action ( #636 )
...
* Add simple PR comment sub-action
* Update rolldown config
* Add changeset
* Update readme
* Use TLA
* Add prefix
* fix merge
* Update
2026-05-30 19:39:39 +00:00
Bjorn Lu and Mateusz Burzyński
8795eee5ee
Comment changeset status in PRs ( #625 )
...
* Initial implementation
* Fix
* fix
* fix
* Make it look nicer
* Update docs
* Rename to pr-status-comment
* Remove outputs
* Update path
* update name
* Checkout PR in a detached worktree (#626 )
Co-authored-by: bluwy <bjornlu.dev@gmail.com >
* Move comment to separate job
* Loosen event requirement
* Update
* Apply suggestions from code review
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
* Use TLA
* use using
* Remove test log
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-05-29 12:27:24 +00:00
Mateusz Burzyński and Bjorn Lu
34f64f6e2e
Fixed an issue with GitHub releases not being created for successfully published packages when some packages failed to be published ( #535 )
...
* Fixed an issue with GitHub releases not being created for successfully published packages when some packages failed to be published
* Format
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com >
2026-05-29 06:48:06 +00:00
Bjorn Lu
1d54b9e660
Simplify getChangelogEntry ( #632 )
2026-05-27 15:41:11 +00:00
Bjorn Lu
e0c90aa7fb
Fix version/publish arg parsing ( #629 )
2026-05-25 09:12:32 +00:00
github-actions[bot] and Mateusz Burzyński
84c24326ac
Version Packages ( #598 )
...
* Version Packages
* add missing PR reference
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-05-07 09:43:16 +00:00
f5dbf72f96
Add draft mode support ( #258 )
...
* Add draft mode support
* Add doc
* fmt
* add it to action.yml
* fix bad merge?
* tweak changeset
* refactor
---------
Co-authored-by: Emma Hamilton <mitchell@hamil.town >
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-05-07 11:35:24 +02:00
Rafi Adnan and Mateusz Burzyński
81b3f61ebf
Fixed .changeset state being picked for the version command when cwd parameter is provided ( #536 )
...
* actually use cwd parameter when reading changeset state
* tweak changeset
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-03-31 17:47:34 +02:00
Oleksii Shytikov and Mateusz Burzyński
6002dbd987
Fix reading .changeset directory from path provided in cwd parameter ( #502 )
...
* Adding informational message about resolved `cwd` location
* Reading changesets information from provided folder
* Adding changeset information
* Apply suggestion from @Andarist
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-03-31 17:38:41 +02:00
github-actions[bot]
a7c500273b
Version Packages ( #565 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-12 12:25:27 +01:00
Mateusz Burzyński
935fe876b0
Automatically use the GitHub-provided token to allow most users to avoid explicit GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} configuration ( #564 )
2026-01-29 09:35:17 +01:00
Mateusz Burzyński
6af4a7ec08
Don't error on symlinks and executables when they don't have to be touched anyway ( #563 )
...
* Don't error on symlinks and executables when they don't have to be touched anyway
* tweak range
2026-01-28 09:02:44 +01:00
54220dd92c
Conditionally append NPM_TOKEN to .npmrc ( #545 )
...
* fix: conditionally append NPM_TOKEN to .npmrc for trusted publishing support
The .npmrc generation now intelligently handles both traditional NPM token
authentication and trusted publishing scenarios:
- Only appends auth token to .npmrc when NPM_TOKEN is defined (not undefined)
- Uses strict comparison (!== undefined) instead of truthy checks
- Provides informative logging when no NPM_TOKEN is present
- Maintains full backward compatibility with existing workflows
This fixes issues with trusted publishing where OIDC tokens from GitHub
Actions are used instead of NPM_TOKEN, preventing 'undefined' from being
written to the registry auth configuration.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* Update src/index.ts
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
* simplify
* tweak changeset
---------
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-01-27 23:14:11 +01:00
github-actions[bot]
5e0dfa5699
Version Packages ( #559 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-21 13:28:01 +01:00
Harsha Venugopal and Mateusz Burzyński
342005d412
Upgrade from Node.js 20 to Node.js 24 LTS ( #558 )
...
* migrate nodejs from 20 to 24
* chore: update changeset
* Update .changeset/tall-flowers-fry.md
* Update .changeset/tall-flowers-fry.md
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2026-01-21 13:25:38 +01:00
github-actions[bot]
04d574e831
Version Packages ( #480 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-17 18:42:20 +02:00
Sam Lanning and Mateusz Burzyński
7ed1955546
Fixed situations in which cwd was specified as a relative path and used with (default) commitMode: git-cli ( #486 )
...
* fix: use latest ghcommit and fix cwd for git-cli
- `cwd` was not working correctly when commitMode was set to `git-cli`,
as it was attempting to resolve the `cwd` twice.
(This problem only occured when specifying a relative path for `cwd`.)
- Update `ghcommit`, and avoid calling `process.chdir()` to change the
working directory. Instead, we now pass the `cwd` option everywhere.
fixes #475
* simplify
* Apply suggestions from code review
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2025-05-16 11:25:00 +02:00
Sam Lanning and Mateusz Burzyński
022692ba02
Fix PRs sometimes not getting reopened with commitMode: github-api ( #488 )
...
* Fix PRs sometimes not getting reopened
There was a race-condition that means sometimes
existing PRs would not be found,
and new PRs would be opened.
This has now been fixed by fetching existing PRs
before making any changes.
fixes #487
* Apply suggestions from code review
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2025-05-15 21:46:15 +02:00
Mateusz Burzyński
cf373e45c9
Switch to esbuild for bundling ( #479 )
...
* Switch to esbuild for bundling
* add changeset
2025-05-11 20:55:50 +02:00
Younsang Na and Mateusz Burzyński
e9c36b6964
Avoid hitting a deprecation warning when encountering errors from @octokit/request-error ( #461 )
...
* fix: use status when http err
* tweak code
* add changeset
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2025-05-11 11:15:02 +02:00
Mateusz Burzyński
9d933dcd11
Updated @actions/* and @octokit/* dependencies ( #477 )
2025-05-11 11:01:10 +02:00
github-actions[bot]
42d5417623
Version Packages ( #476 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-10 13:25:20 +02:00
Sam Lanning and Mateusz Burzyński
3c24abeab2
Make git add work consistently with subdirectories ( #473 )
...
* Make git add work consistently with subdirectories
Currently, depending on your `commitMode`,
when running the action with `cwd` set to a subdirectory of a repo,
the action will either:
- `git-cli`: add the files changed in the subdirectory only
- `github-api`: add files changed anywhere in the repository
This commit brings github-api in line with git-cli,
so that it only adds files in the current working directory.
* Explicitly set `cwd` for all exec calls
* Avoid using `ExecOptions` from `@actions/exec`
* Rename type
* remove redundant `filter`
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2025-05-10 12:34:27 +02:00
github-actions[bot]
7f0270e8f4
Version Packages ( #468 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-08 15:25:41 +02:00
Herman Jensen and Mateusz Burzyński
15ab130606
Bump @changesets/ghcommit to v1.4.0 ( #471 )
...
* fix: bump @changesets/ghcommit to v1.4.0
* Update .changeset/dry-bugs-applaud.md
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2025-05-08 15:22:42 +02:00