Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Commit Message. #246

Closed
lizhongyue248 opened this issue Jul 11, 2021 · 3 comments
Closed

Custom Commit Message. #246

lizhongyue248 opened this issue Jul 11, 2021 · 3 comments

Comments

@lizhongyue248
Copy link

My company project's commit message is Conventional Commits.

So, I want the upgrade message is chore(deps): Update Gradle Wrapper from 7.0.2 to 7.1. .

And my personal project's commit message is Gitmoji, I want the commit message is :arrow_up: Update Gradle Wrapper from 7.0.2 to 7.1. .

Or other language... Like chore(deps): Gradle Wrapper 版本升级 7.0.2 => 7.1。.

But now, the commit message must be Update Gradle Wrapper from 7.0.2 to 7.1..

I have to modify it manually, like rebase. It bothers me a lot. T T...

How do I custom commit message?

@ChrisCarini
Copy link
Contributor

I, too, would love to see this feature.

paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue May 1, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue May 1, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue May 1, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
@paulschuberth
Copy link
Contributor

In case anybody is still interested in this issue, I've opened PR #679 for this.

paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue May 2, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue May 2, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue May 20, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue Jul 3, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
paulschuberth added a commit to paulschuberth/update-gradle-wrapper-action that referenced this issue Jul 9, 2023
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
hannesa2 pushed a commit to hannesa2/update-gradle-action that referenced this issue May 6, 2024
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
hannesa2 pushed a commit to hannesa2/update-gradle-action that referenced this issue May 6, 2024
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
hannesa2 pushed a commit to hannesa2/update-gradle-action that referenced this issue May 6, 2024
This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements gradle-update#246
github-merge-queue bot pushed a commit that referenced this issue Sep 16, 2024
* ignore .idea directory

* Add `commit-message-template` input

This change adds a new input to the action. It can be used to customize
the message of the commit created by this action.

This input is not required and has the default value `Update Gradle
Wrapper from %sourceVersion% to %targetVersion%`, where `%sourceVersion%`
will be replaced by the current/old version of the Gradle Wrapper and
`%targetVersion%` will be replaced by the new version of the Gradle
Wrapper.

The PR title and body remain unaffected by this change.

Implements #246

* Align behaviour for `undefined` sourceVersion with #695

For cases where the source version of the Gradle wrapper cannot
be determined the string `undefined` is used as a fallback.

This allows to use the same custom commit message template in
all cases.

* Update action.yml

---------

Co-authored-by: Cristian Greco <[email protected]>
@cristiangreco
Copy link
Contributor

Hi, #679 is now finally merged and included in v2. Thanks so much for your help and patience!

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

No branches or pull requests

4 participants