chore(deps): update changesets/action action to v2 - #265
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1→v2.1.1Release Notes
changesets/action (changesets/action)
v2.1.1Compare Source
Patch Changes
da1ea29Thanks @KEBABSELLER6! - Fixed typo in renamed inputs from v1 to v2v2.1.0Compare Source
Minor Changes
3b7c71cThanks @bluwy! - Add acwdinput to the root action,/select-mode,/version,/pack, and/publishsub-actions to set the current working directory to execute Changesets in. This input existed in v1 but was incorrectly removed.Patch Changes
6f58ba3Thanks @bluwy! - Updatepr-statusmessage to link to the new faq pagev2.0.0Compare Source
Major Changes
#692
cb3f011Thanks @Andarist! - Release commits and tags are now pushed using the GitHub API by default.Replace the
commit-modeinput with the booleanpush-with-git-cliinput. Setpush-with-git-cli: trueto continue using the Git CLI.Regardless of the push mode, custom GitHub tokens must be passed explicitly through the
github-tokeninput. TheGITHUB_TOKENenvironment variable and credentials configured byactions/checkoutor embedded in remote URLs are not substitutes for this input. When the Git CLI is enabled,github-tokentakes precedence over those repository credentials.#680
ca57073Thanks @bluwy! - Add a newpush-git-tagsoption that complementscreate-github-releasesto control specifically if git tags should be created but not GitHub releases.If
create-github-releaseswas previously set tofalse, which also indirectly disabled git tag creation, git tags will now be created instead by default. If this is not desired, setpush-git-tagstofalseexplicitly.#657
4f718b5Thanks @Andarist! - Removed compatibility support for old Changesets v1.#681
7359107Thanks @bluwy! - Rename the root action inputs and outputs to better match the sub-actions' conventions.Inputs:
version->version-scriptpublish->publish-scriptcommit->commit-messagetitle->pr-titlebranch->pr-base-branchOutputs:
pull-request-number->pr-number#674
164652bThanks @bluwy! - Remove support for passing custom GitHub token through the GITHUB_TOKEN environment variable. It should be passed to thegithub-tokeninput instead.#659
5649ff4Thanks @bluwy! - Removecwdoption forchangesets/action. Use the stepworking-directoryoption instead to change the directory.#673
823cf74Thanks @bluwy! - Update to Changesets v3 packages#695
469993cThanks @bluwy! - Removed.npmrchandling when theNPM_TOKENenvironment variable is set.Authentication should be handled via Trusted Publishing instead. If a token is still needed, use
actions/setup-nodeto set it up instead via theregistry-urloption. Check out the updated action README for more information of setting up npm authentication in GitHub Actions.#668
0eae789Thanks @bluwy! - Rename the input and output names to kebab-case instead of camelCase to match the official GitHub actions patternMinor Changes
#656
a12d90dThanks @bluwy! - Add new/select-mode,/version, and/publishsub-actions to better control version and publish steps#678
f71ae04Thanks @Andarist! - Published packages detection done through stdout parsing was replaced with one based on the shared output file usingCHANGESETS_OUTPUTenvironment variable. When using custom scripts this environment variable should always be passed down to the Changesets CLI invocations.Patch Changes
#699
5b307d3Thanks @Andarist! - Validate that projects use Changesets CLI v3 and direct Changesets CLI v2 users tochangesets/action@v1.#697
84d78c6Thanks @Andarist! - Allow custom publish scripts to complete without a Changesets output file, warning that GitHub releases and git tags cannot be created when that file is missing.#670
5a8b9b7Thanks @Andarist! - Authenticate git CLI pushes with the configured GitHub token using Git extra headers instead of writing to a global.netrcfile.#670
5a8b9b7Thanks @Andarist! - Derive the Git server URL from the GitHub Actions context when configuring git CLI authentication to support GitHub Enterprise Server setups.#688
219ea82Thanks @Andarist! - Remove thesetup-git-userinput. Complete custom Git identities are now preserved automatically, whilegithub-actions[bot]is configured as a fallback before creating local release commits or tags.v1.9.0Compare Source
Minor Changes
#636
b072bccThanks @bluwy! - Add a new@changesets/action/pr-commentsub-action to comment on PRs#625
8795eeeThanks @bluwy! - Add a new@changesets/action/pr-statussub-action to generate the changeset status comment for PRs as an alternative to the Changesets Bot.Patch Changes
#535
34f64f6Thanks @Andarist! - Fixed an issue with GitHub releases not being created for successfully published packages when some packages failed to be published to the registry.#632
1d54b9eThanks @bluwy! - Simplify internal implementation to get changelog entries for a package version#629
e0c90aaThanks @bluwy! - Fix custom version and publish command argument parsing#645
f9585d9Thanks @Andarist! - Improved force-push handling when usingcommitMode: "github-api"so updating an existing branch no longer temporarily resets the target branch to the base commit, avoiding cases where GitHub closes open pull requests during the update. This should remove a possibility of a GitHub state race that caused the force-pushed PRs not being reopened.v1.8.0Compare Source
Minor Changes
f5dbf72Thanks @tom-sherman! - Support draft version PR modes with a newprDraftinput. Usecreateto create new version PRs as drafts, oralwaysto also convert existing version PRs back to draft when updating them.Patch Changes
#502
6002dbdThanks @oshytiko! - Fixed initial.changesetstate being picked up, whencwdparameter is provided#536
81b3f61Thanks @radnan! - Fixed.changesetstate being picked for the version command whencwdparameter is providedv1.7.0Compare Source
Minor Changes
935fe87Thanks @Andarist! - Automatically use the GitHub-provided token to allow most users to avoid explicitGITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}configuration.Patch Changes
#545
54220ddThanks @ryanbas21! - The.npmrcgeneration now intelligently handles both traditional NPM token authentication and trusted publishing scenarios by only appending the auth token whenNPM_TOKENis defined. This prevents 'undefined' from being written to the registry configuration when using OIDC tokens from GitHub Actions trusted publishing.#563
6af4a7eThanks @Andarist! - Don't error on already committed symlinks and executables that stay untouchedv1.6.0Compare Source
Minor Changes
342005dThanks @harsha-venugopal-ledn! - Upgrade from Node.js 20 to Node.js 24 LTSv1.5.3Compare Source
Patch Changes
#477
9d933dcThanks @Andarist! - Updated@actions/*and@octokit/*dependencies.#479
cf373e4Thanks @Andarist! - Switched toesbuildfor bundling the dist file. This led to 45% file size reduction.#488
022692bThanks @s0! - Fix PRs sometimes not getting reopened withcommitMode: github-apiThere 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.
#486
7ed1955Thanks @s0! - Fixed situations in whichcwdwas specified as a relative path and used with (default)commitMode: git-cli#461
e9c36b6Thanks @nayounsang! - Avoid hitting a deprecation warning when encountering errors from@octokit/request-errorv1.5.2Compare Source
Patch Changes
#473
3c24abeThanks @s0! - Make git add work consistently with subdirectoriesEnsure that when running the action from a subdirectory of a repository,
only the files from that directory are added, regardless of
commitMode.v1.5.1Compare Source
Patch Changes
#471
15ab130Thanks @h3rmanj! - Bump@changesets/ghcommitto v1.4.0, which fixes an issue running this action in monorepos withcommitMode: github-api#467
6e57550Thanks @Vx-V! - Avoid searching for an existing pull request early.v1.5.0Compare Source
Minor Changes
#391
207dc3dThanks @s0! - Introduce a new inputcommitModethat allows using the GitHub API for pushing tags and commits instead of the Git CLI.When used with
"github-api"value all tags and commits will be attributed to the user whose GITHUB_TOKEN is used, and also signed using GitHub's internal GPG key.v1.4.10Compare Source
Patch Changes
8b16070Thanks @bluwy! - Use full git email (41898282+github-actions[bot]@users.noreply.github.com) for github-actions bot when making commitsv1.4.9Compare Source
Patch Changes
57ab80cThanks @benmccann! - Improve error message when attempting to publish without publish script definedv1.4.8Compare Source
Patch Changes
#393
48ab0d2Thanks @s0! - Ensure the PR remains open when updated#393
48ab0d2Thanks @s0! - Switch to cheaper API for querying existing PRsv1.4.7Compare Source
Patch Changes
f2660aaThanks @ernestognw! - Allow customize PRbranchfieldv1.4.6Compare Source
Patch Changes
9385be9Thanks @m-shaka! - Bump the used node.js from 16 to 20v1.4.5Compare Source
Patch Changes
eb19e25Thanks @mark-omarov! - Updated a few dependencies to patch the security vulnerabilities that were reported for their older versions.v1.4.4Compare Source
Patch Changes
db8a109Thanks @varl! - Wire up@octokit/plugin-throttlingwith all GitHub Octokit instancesv1.4.3Compare Source
Patch Changes
8b28186Thanks @varl! - Use logging provided by@actions/corev1.4.2Compare Source
Patch Changes
#286
225a1e8Thanks @varl! - This patch implements the@octokit/plugin-throttlingplugin and wiresit up with the internal GitHub Octokit instance.
This plugin is recommended by the Octokit docs as it implements all the GitHub best practices for integrators.
This should help with
changesets/actiongitting spurious secondary rate limits and failing CI jobs, for which the only known workaround is to simply re-run the job.v1.4.1Compare Source
Patch Changes
b78f480Thanks @Andarist! - Updated@actions/*dependencies to avoid using deprecated features of the runner.v1.4.0Compare Source
Minor Changes
398d7edThanks @quinnjn! - Execute action with node16 instead of node12.Patch Changes
#228
bff53ccThanks @iansan5653! - Addis:pull-requestto search query when looking for existing PR. This fixes an issue with user-owned PATs.#206
8c3f5f5Thanks @glasser! - Skip creating a PR when all existing changesets are empty.v1.3.0Compare Source
Minor Changes
993a0a0Thanks @dmregister! - AddedpullRequestNumberto the action's outputsPatch Changes
521c27bThanks @emmenko! - Automatically adjust GitHub PR message if it exceeds a size limit of 60k characters by omitting some of the changelog information.v1.2.2Compare Source
Patch Changes
52c9ce7Thanks @bicknellr! - Change directory tocwdbefore running git user setup. This fixes an issue when the action starts its execution not in a git repository.v1.2.1Compare Source
Patch Changes
898d125Thanks @Andarist! - Updated all Changesets dependencies. This should fix parsing issues for completely empty summaries that has been fixed in@changesets/parse@0.3.11.v1.2.0Compare Source
Minor Changes
#130
5c0997bThanks @akphi! - AddedcreateGithubReleasesinput option (defaults totrue) to control whether to create Github releases during publish or not.#134
1ed9bc2Thanks @dmregister! - Addedcwdinput option that can be used in projects that are not in the root directory.v1.1.0Compare Source
Minor Changes
#128
1937303Thanks @dhruvdutt! - Setup the git user in the local config instead of the global one.#131
d3db9ecThanks @jacklesliewise! - AddedsetupGitUseroption to enable or disable setting up a default git userConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.