Skip to content

Append PR number to merge commit message #255

Open
@hwhsu1231

Description

@hwhsu1231

Feature Request

When merging a pull request on the GitHub web client, the suggested commit message (at least in the case of a squash commit, which we always use) will automatically include the number of the PR in parentheses, like so:

Update project files (#123)

However, when merging using this GitHub Action, the first line of the commit message will look like this:

Update project files

No matter what option of MERGE_COMMIT_MESSAGE I choose:

  • automatic
  • pull-request-title
  • pull-request-description
  • pull-request-title-and-description

Therefore, I hope that it can append (#NUM) to the first line of the commit message for all possible options.

Versions

Current latest release: v0.16.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions