1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2026-10-25 07:43:43 +08:00
Commit Graph

4 Commits

Author SHA1 Message Date
Jordan Harband
419ff4efec [actions] update workflows 2026-06-29 17:33:31 -05:00
Jordan Harband
7079a5d61c [actions] nodejs.org PR: sync the fork before branching, and surface create-ref errors 2026-06-04 14:52:41 -07:00
Jordan Harband
306f04a90a [actions] nodejs.org PR: fix force boolean and grab the latest tag on dispatch
The branch-reset step sent `force` as a string via `gh api -f "force=true"`,
which the Git refs API rejects ("not a boolean", HTTP 422), failing the release run.
Use `-F` so it is sent as a boolean.

Also resolve the version from the latest `vX.Y.Z` tag
(via the tags API) rather than `releases/latest`,
so a manual `workflow_dispatch` with no input works even before the GitHub release object for a freshly pushed tag is published.
2026-06-04 09:54:01 -07:00
Jordan Harband
4c556a19b0 [actions] add workflow to update nodejs.org nvm version
Ref: https://github.com/nodejs/nodejs.org/issues/8628
2026-02-19 21:27:42 -08:00