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

[Feature] Allow customization of welcome text #152

Closed
fyears opened this issue Apr 29, 2024 · 1 comment
Closed

[Feature] Allow customization of welcome text #152

fyears opened this issue Apr 29, 2024 · 1 comment
Labels

Comments

@fyears
Copy link

fyears commented Apr 29, 2024

Is your feature request related to a problem? Please describe.

Hi, I would like to deploy the robot to my source-available project (not "Open Source" defined by OSI).

Currently the robot welcomes new contributors with the text "Like many open-source projects, we ask ...".

Although the welcome text is still kind of valid, but I would like to change it to something like "like many source-available projects, ...", to avoid any potential confusions.

Describe the solution you'd like

Add a optional input to cla.yml,

...
welcome-text: Like many open-source projects, we ask that you sign our $cla-link, before we can ...
...

Additional context

Obviously the text is defined at

let lineOne = (input.getCustomNotSignedPrComment() || `<br/>Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that $you sign our [Developer Certificate of Origin](${input.getPathToDocument()}) before we can accept your contribution. You can sign the DCO by just posting a Pull Request Comment same as the below format.<br/>`).replace('$you', you)
and
let lineOne = (input.getCustomNotSignedPrComment() || `<br/>Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that $you sign our [Contributor License Agreement](${input.getPathToDocument()}) before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.<br/>`).replace('$you', you)
. We need to pass a optional variable to those location.

I am not familiar with github action development so I'm afraid I don't know how to fix this even I would like to make a PR. :-(

@fyears fyears added the feature label Apr 29, 2024
@fyears
Copy link
Author

fyears commented Apr 29, 2024

Oh, I suddenly realize that the input custom-notsigned-prcomment is what I want!

@fyears fyears closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant