Skip to content

commit-message input is ignored by the core action #48

@ricogu-claw

Description

@ricogu-claw

Summary

The public action exposes a commit-message input, but the core action currently ignores it and always commits with a hardcoded message.

Evidence

  • Public action documents/exposes commit-message in action.yml
  • README also documents commit-message as configurable
  • Core implementation hardcodes the commit message in .github/actions/core/src/index.ts:
await git.commit(`chore: bump version to ${newVersion}`);

Why this matters

This creates a contract mismatch between the documented API and the actual behavior. Users may assume they can customize the commit message, but the input currently has no effect.

Expected behavior

If commit-message is provided, the action should use it when creating the version bump commit (potentially with a placeholder for the computed version if desired).

Possible implementation ideas

  • Respect the commit-message input directly
  • Optionally support a placeholder like @NEW_VERSION@ in the custom message
  • Add/adjust tests to cover custom commit messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions