@@ -657,6 +657,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
657
657
Object.defineProperty(exports, "__esModule", ({ value: true }));
658
658
exports.commentContent = void 0;
659
659
const input = __importStar(__nccwpck_require__(3611));
660
+ const pr_sign_comment_1 = __nccwpck_require__(6718);
660
661
function commentContent(signed, committerMap) {
661
662
// using a `string` true or false purposely as github action input cannot have a boolean value
662
663
if (input.getUseDcoFlag() == 'true') {
@@ -715,7 +716,7 @@ function cla(signed, committerMap) {
715
716
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);
716
717
let text = `${lineOne}
717
718
- - -
718
- ${input.getCustomPrSignComment() || "I have read the CLA Document and I hereby sign the CLA" }
719
+ ${(0, pr_sign_comment_1.getPrSignComment)() }
719
720
- - -
720
721
`;
721
722
if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) {
@@ -930,13 +931,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
930
931
};
931
932
Object.defineProperty(exports, "__esModule", ({ value: true }));
932
933
exports.setupClaCheck = void 0;
934
+ const core = __importStar(__nccwpck_require__(2186));
935
+ const github_1 = __nccwpck_require__(5438);
933
936
const checkAllowList_1 = __nccwpck_require__(3661);
934
937
const graphql_1 = __importDefault(__nccwpck_require__(5157));
935
- const pullRequestComment_1 = __importDefault(__nccwpck_require__(3326));
936
- const github_1 = __nccwpck_require__(5438);
937
938
const persistence_1 = __nccwpck_require__(5802);
939
+ const pullRequestComment_1 = __importDefault(__nccwpck_require__(3326));
938
940
const pullRerunRunner_1 = __nccwpck_require__(4766);
939
- const core = __importStar(__nccwpck_require__(2186));
940
941
function setupClaCheck() {
941
942
return __awaiter(this, void 0, void 0, function* () {
942
943
let committerMap = getInitialCommittersMap();
@@ -974,7 +975,7 @@ function getCLAFileContentandSHA(committers, committerMap) {
974
975
result = yield (0, persistence_1.getFileContent)();
975
976
}
976
977
catch (error) {
977
- if (error.status === 404) {
978
+ if (error.status === " 404" ) {
978
979
return createClaFileAndPRComment(committers, committerMap);
979
980
}
980
981
else {
@@ -1089,6 +1090,45 @@ const lockPullRequestAfterMerge = () => core.getInput('lock-pullrequest-aftermer
1089
1090
exports.lockPullRequestAfterMerge = lockPullRequestAfterMerge;
1090
1091
1091
1092
1093
+ /***/ }),
1094
+
1095
+ /***/ 6718:
1096
+ /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
1097
+
1098
+ "use strict";
1099
+
1100
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
1101
+ if (k2 === undefined) k2 = k;
1102
+ var desc = Object.getOwnPropertyDescriptor(m, k);
1103
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
1104
+ desc = { enumerable: true, get: function() { return m[k]; } };
1105
+ }
1106
+ Object.defineProperty(o, k2, desc);
1107
+ }) : (function(o, m, k, k2) {
1108
+ if (k2 === undefined) k2 = k;
1109
+ o[k2] = m[k];
1110
+ }));
1111
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
1112
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
1113
+ }) : function(o, v) {
1114
+ o["default"] = v;
1115
+ });
1116
+ var __importStar = (this && this.__importStar) || function (mod) {
1117
+ if (mod && mod.__esModule) return mod;
1118
+ var result = {};
1119
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
1120
+ __setModuleDefault(result, mod);
1121
+ return result;
1122
+ };
1123
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
1124
+ exports.getPrSignComment = void 0;
1125
+ const input = __importStar(__nccwpck_require__(3611));
1126
+ function getPrSignComment() {
1127
+ return input.getCustomPrSignComment() || "I have read the CLA Document and I hereby sign the CLA";
1128
+ }
1129
+ exports.getPrSignComment = getPrSignComment;
1130
+
1131
+
1092
1132
/***/ }),
1093
1133
1094
1134
/***/ 7351:
0 commit comments