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

Trim PR comment body #69

Merged
merged 1 commit into from
Jan 21, 2021
Merged

Trim PR comment body #69

merged 1 commit into from
Jan 21, 2021

Conversation

yahavi
Copy link
Contributor

@yahavi yahavi commented Jan 17, 2021

Partially resolving: #57

TL;DR

Trim the PR comment to allow dealing with new lines.

The issue

Currently, this action does not accept new lines before and after the signning comment. For instance:
This won't work:


I have read the CLA Document and I hereby sign the CLA

This would work:

I have read the CLA Document and I hereby sign the CLA

The root cause

.* in regex does not match newline characters.

The solution

Trim the body of the comment.

@CLAassistant
Copy link

CLAassistant commented Jan 17, 2021

CLA assistant check
All committers have signed the CLA.

@roryabraham
Copy link

Would love to see this fix merged!

@ibakshay
Copy link
Member

Hi @yahavi, thank you very much for your contribution :) ..

Copy link

@Ashleycho35 Ashleycho35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funds

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

Successfully merging this pull request may close these issues.

None yet

5 participants