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

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.

@changeset-bot

changeset-botBot 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
NameType
@changesets/actionMajor

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 threadsrc/index.ts
Andarist
Andarist previously approved these changes Jun 24, 2026
Andarist
Andarist previously approved these changes Jun 29, 2026
Comment threadaction.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
MemberAuthor

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 threadaction.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 threadaction.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
MemberAuthor

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 queueJun 30, 2026
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to a conflict with the base branch Jun 30, 2026

@trueberrylesstrueberryless 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 queueJun 30, 2026
Merged via the queue into main with commit 0eae789Jun 30, 2026
7 checks passed
@bluwy
bluwy deleted the kebab-4-life branch June 30, 2026 08:25
@changesets-org-version-botchangesets-org-version-botBot mentioned this pull request Aug 11, 2026
Sign up for freeto 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

@bluwy@beeequeue@Andarist@trueberryless