FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Rename to kebab-case for root action inputs and outputs by bluwy · Pull Request #668 · changesets/action · GitHub

Rename to kebab-case for root action inputs and outputs - #668

Merged
bluwy merged 4 commits into
mainfrom
kebab-4-life
Jun 30, 2026
Merged

Rename to kebab-case for root action inputs and outputs#668
bluwy merged 4 commits into
mainfrom
kebab-4-life

Conversation

bluwy commented Jun 24, 2026

Copy link
Copy Markdown
Member

Could also rename some to match the new version/publish sub-action names, but I decided to make this change step by step.

bluwy requested review from Andarist and emmatown as code owners June 24, 2026 03:12

changeset-bot Bot commented Jun 24, 2026
edited
Loading

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7d28c47

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread src/index.ts
Andarist previously approved these changes Jun 24, 2026
Andarist previously approved these changes Jun 29, 2026
Comment thread action.yml
has-changesets:
description: A boolean about whether there were changesets. Useful if you want to create your own publishing functionality.
pullRequestNumber:
pull-request-number:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

that's pr-number in the /version. perhaps we should match it here?
https://github.com/changesets/action/blob/a35a66bd1ec69b007f5cef9646f34a13eb610a41/src/version/index.ts#L56C19-L56C28

note that it's also missing in the declared outputs of that subaction:

outputs: {}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yeah we should align the names eventually. In this PR I'd like to focus on kebab-casing only

Comment thread action.yml
required: false
default: true
commitMode:
commit-mode:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@beeequeue noticed (rightfully so) this isn't exactly tightly-coupled to committing. But I'm not sure if we have the appetitete to rename this stuff right now

Comment thread action.yml
Comment on lines 11 to 14
publish:
description: "The command to use to build and publish packages"
required: false
version:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

A little bit out of this PR's scope but I feel those should be renamed to publish-script and version-script

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yeah I can follow up with this later

bluwy added this pull request to the merge queue Jun 30, 2026
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Jun 30, 2026

trueberryless left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good to me 🚀

bluwy added this pull request to the merge queue Jun 30, 2026
Merged via the queue into main with commit 0eae789 Jun 30, 2026
7 checks passed
bluwy deleted the kebab-4-life branch June 30, 2026 08:25
zimeg added a commit to slackapi/node-slack-sdk that referenced this pull request Aug 27, 2026
The changesets/action v1->v2 migration (#2714) updated the action's
inputs but the workflow still read the action's OUTPUTS by their pre-v2
camelCase names. v2 renamed the outputs to kebab-case too
(changesets/action#668). Each read returned an empty string, so
`has-changesets` never evaluated to 'false', the "Check if publish is
needed" step was skipped, and the publish job's gate failed closed --
release PR #2713 merged and bumped versions but never published to npm.

Update the two renamed output reads:

- outputs.hasChangesets    -> outputs.has-changesets
- outputs.publishedPackages -> outputs.published-packages

(`published` was not renamed in v2, so it is left as-is.)

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL