Commit 93bb1d6
ci: migrate changesets/action release workflow to v2
changesets/action v2 renamed the root action's inputs and outputs
(changesets/action#681) and now pushes release commits/tags via the GitHub
API, requiring the token through the `github-token` input rather than the
`GITHUB_TOKEN` env var (changesets/action#692). #133 bumped the action
1.9.0 -> 2.1.1 but left the release workflow on the v1 interface, so v2
would silently ignore the inputs, resolve the renamed output to empty, and
lose the token.
Inputs (renamed, alphabetized):
version -> version-script
publish -> publish-script
createGithubReleases -> create-github-releases
commit -> commit-message
title -> pr-title
prDraft -> pr-draft
Outputs:
publishedPackages -> published-packages
Token: moved from `env: GITHUB_TOKEN` to the `github-token` input. Values
unchanged; verified against action.yml at the pinned v2.1.1 SHA.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>1 parent af65e79 commit 93bb1d6
1 file changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
0 commit comments