Skip to content

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

@bluwy 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
bluwy requested review from Andarist and emmatown as code owners June 24, 2026 03:12
@changeset-bot

changeset-bot Bot commented Jun 24, 2026

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
Andarist previously approved these changes Jun 24, 2026
Andarist
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.

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.

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.

@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.

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.

Yeah I can follow up with this later

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

@trueberryless 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.

Looks good to me 🚀

@bluwy
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
bluwy deleted the kebab-4-life branch June 30, 2026 08:25
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