You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ This PAT should have repo scope and is only required if you have configured to s
138
138
|`custom-pr-sign-comment`|_optional_| The signature to be committed in order to sign the CLA. | I have read the Developer Terms Document and I hereby accept the Terms |
139
139
|`custom-allsigned-prcomment`|_optional_| pull request comment when everyone has signed | All Contributors have signed the CLA. |
140
140
|`lock-pullrequest-aftermerge`|_optional_| Boolean input for locking the pull request after merging. Default is set to `true`. It is highly recommended to lock the Pull Request after merging so that the Contributors won't be able to revoke their signature comments after merge | false |
141
+
|`suggest-recheck`|_optional_| Boolean input for indicating if the action's comment should suggest that users comment `recheck`. Default is set to `true`. | false |
Copy file name to clipboardExpand all lines: dist/index.js
+48-3Lines changed: 48 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -699,7 +699,9 @@ function dco(signed, committerMap) {
699
699
text += `**${committerNames.join(", ")}** ${seem} not to be a GitHub user.`;
700
700
text += ' You need a GitHub account to be able to sign the DCO. If you have already a GitHub account, please [add the email address used for this commit to your account](https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user).<br/>';
701
701
}
702
-
text += '<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the ****DCO Assistant Lite bot****.</sub>';
702
+
if (input.suggestRecheck() == 'true') {
703
+
text += '<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the ****DCO Assistant Lite bot****.</sub>';
704
+
}
703
705
return text;
704
706
}
705
707
function cla(signed, committerMap) {
@@ -733,7 +735,9 @@ function cla(signed, committerMap) {
733
735
text += `**${committerNames.join(", ")}** ${seem} not to be a GitHub user.`;
734
736
text += ' You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please [add the email address used for this commit to your account](https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user).<br/>';
735
737
}
736
-
text += '<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the **CLA Assistant Lite bot**.</sub>';
738
+
if (input.suggestRecheck() == 'true') {
739
+
text += '<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the **CLA Assistant Lite bot**.</sub>';
740
+
}
737
741
return text;
738
742
}
739
743
@@ -1054,7 +1058,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
text+=' You need a GitHub account to be able to sign the DCO. If you have already a GitHub account, please [add the email address used for this commit to your account](https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user).<br/>'
52
52
}
53
53
54
-
text+='<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the ****DCO Assistant Lite bot****.</sub>'
54
+
if(input.suggestRecheck()=='true'){
55
+
text+='<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the ****DCO Assistant Lite bot****.</sub>'
text+=' You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please [add the email address used for this commit to your account](https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user).<br/>'
94
96
}
95
97
96
-
text+='<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the **CLA Assistant Lite bot**.</sub>'
98
+
if(input.suggestRecheck()=='true'){
99
+
text+='<sub>You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the **CLA Assistant Lite bot**.</sub>'
0 commit comments