@@ -657,6 +657,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
657657Object.defineProperty(exports, "__esModule", ({ value: true }));
658658exports.commentContent = void 0;
659659const input = __importStar(__nccwpck_require__(3611));
660+ const pr_sign_comment_1 = __nccwpck_require__(6718);
660661function commentContent(signed, committerMap) {
661662 // using a `string` true or false purposely as github action input cannot have a boolean value
662663 if (input.getUseDcoFlag() == 'true') {
@@ -715,7 +716,7 @@ function cla(signed, committerMap) {
715716 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);
716717 let text = `${lineOne}
717718 - - -
718- ${input.getCustomPrSignComment() || "I have read the CLA Document and I hereby sign the CLA" }
719+ ${(0, pr_sign_comment_1.getPrSignComment)() }
719720 - - -
720721 `;
721722 if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) {
@@ -930,13 +931,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
930931};
931932Object.defineProperty(exports, "__esModule", ({ value: true }));
932933exports.setupClaCheck = void 0;
934+ const core = __importStar(__nccwpck_require__(2186));
935+ const github_1 = __nccwpck_require__(5438);
933936const checkAllowList_1 = __nccwpck_require__(3661);
934937const graphql_1 = __importDefault(__nccwpck_require__(5157));
935- const pullRequestComment_1 = __importDefault(__nccwpck_require__(3326));
936- const github_1 = __nccwpck_require__(5438);
937938const persistence_1 = __nccwpck_require__(5802);
939+ const pullRequestComment_1 = __importDefault(__nccwpck_require__(3326));
938940const pullRerunRunner_1 = __nccwpck_require__(4766);
939- const core = __importStar(__nccwpck_require__(2186));
940941function setupClaCheck() {
941942 return __awaiter(this, void 0, void 0, function* () {
942943 let committerMap = getInitialCommittersMap();
@@ -974,7 +975,7 @@ function getCLAFileContentandSHA(committers, committerMap) {
974975 result = yield (0, persistence_1.getFileContent)();
975976 }
976977 catch (error) {
977- if (error.status === 404) {
978+ if (error.status === " 404" ) {
978979 return createClaFileAndPRComment(committers, committerMap);
979980 }
980981 else {
@@ -1089,6 +1090,45 @@ const lockPullRequestAfterMerge = () => core.getInput('lock-pullrequest-aftermer
10891090exports.lockPullRequestAfterMerge = lockPullRequestAfterMerge;
10901091
10911092
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+
10921132/***/ }),
10931133
10941134/***/ 7351:
0 commit comments