Add support for custom commit messages#33
Add support for custom commit messages#33ibakshay merged 7 commits intocontributor-assistant:masterfrom AnandChowdhary:patch-1
Conversation
|
Now that I think about it, it would also be nice if we add support for a intro message by changing this line: https://github.com/cla-assistant/github-action/blob/master/src/pullRequestComment.ts#L34. |
|
Hi @AnandChowdhary, Thank you very much for your contribution. I really appreciate it ..
Yep sure, even I thought about it. Please go ahead and feel free to do it 😄 . Then we can also support dynamic pull request comments. The only thing you need to ensure is that |
On it!
Yep, agreed, let's keep this static. |
|
Two new options have been added:
|
ibakshay
left a comment
There was a problem hiding this comment.
@AnandChowdhary awesome!. Could you also please include the inputs signed-commit-message and others which you added into the action.yml file? :) Then, I will merge your contribution 💯 ..
|
Forgot to add docs here, can you please add the new options to |
|
Sure, no worries. I will do it :). |
|
This works great! For people using Gitmoji, this is our configuration: signed-commit-message: ":wrench: @$contributorName has signed the CLA in #$pullRequestNo"
signed-empty-commit-message: ":wrench: @$contributorName has signed the CLA"
create-file-commit-message: ":wrench: Creating a file for storing CLA signatures"
all-signed-comment-message: "✍️ All contributors have signed the CLA"
request-comment-message: "Thanks for your submission! We ask that $you sign our [Contributor License Agreement]($pathToCLADocument) before we can accept your contribution. You can sign the CLA by adding a comment below using this text:" |
|
Awesomee!!.. I also tested yesterday. It works great 💯 ... |
|
No, it's a GitHub account with a personal access token being used instead of the default |

This PR fixes #32 by adding these options:
signed-commit-messageis the commit message when a new contributor signs the CLA in a PRsigned-empty-commit-messageis the commit message when a new contributor signs the CLA (empty)create-file-commit-messageis the commit message when a new file is createdUsage example: