diff --git a/.github/actions/validate-issue/lib/src/index.js b/.github/actions/validate-issue/lib/src/index.js index 3108eef2..0c8da4ad 100644 --- a/.github/actions/validate-issue/lib/src/index.js +++ b/.github/actions/validate-issue/lib/src/index.js @@ -290,6 +290,13 @@ async function run() { }); } async function postComment(body) { + // Check that this comment has not been previously commented + if (comments.length) { + if (comments.some((comment) => comment.body === body)) { + console.log("Already commented"); + return; + } + } return await octokit.rest.issues.createComment({ owner, repo, diff --git a/.github/actions/validate-issue/lib/src/index.js.map b/.github/actions/validate-issue/lib/src/index.js.map index 5bb909ef..0a79036c 100644 --- a/.github/actions/validate-issue/lib/src/index.js.map +++ b/.github/actions/validate-issue/lib/src/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,wCAAoD;AACpD,4CAAsD;AACtD,iDAAyC;AACzC,iCAAiC;AACjC,2BAAkC;AAClC,6BAA6B;AAC7B,iDAAmD;AAEnD,KAAK,UAAU,GAAG;IAChB,IAAI,CAAC;QACH,8BAA8B;QAC9B,oEAAoE;QACpE,MAAM,KAAK,GAAG,gBAAO,CAAC,OAAO,CAAC,KAAK,CAAC;QAEpC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,IAAA,gBAAS,EAAC,6CAA6C,CAAC,CAAC;YACzD,OAAO;QACT,CAAC;QAED,oEAAoE;QACpE,gEAAgE;QAChE,mEAAmE;QACnE,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAChD,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACpD,IAAI,YAAY,GAAG,UAAU,EAAE,CAAC;YAC9B,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC;YAC5D,OAAO;QACT,CAAC;QAED,yBAAyB;QACzB,MAAM,KAAK,GAAG,IAAA,eAAQ,EAAC,YAAY,CAAC,CAAC;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AAM,oBAAoB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,iDAAiD,CAAC;YAC/G,MAAM,MAAM,GAAG,IAAA,wBAAQ,EAAC,OAAO,oBAAoB,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;YAClE,mEAAmE;YACnE,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QACxD,CAAC;QAED,SAAS,OAAO,CACd,QAAgB,EAChB,YAAmD;YAEnD,IAAI,QAAQ,GAAG,IAAA,iBAAY,EAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;YAEpE,MAAM,CAAC,OAAO,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;gBACtD,QAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YAC7C,CAAC,CAAC,CAAC;YAEH,OAAO,QAAQ,CAAC;QAClB,CAAC;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,KAAK,GAAG,GAAY,CAAC;QAC3B,IAAA,gBAAS,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC;AAED,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/.github/actions/validate-issue/src/index.ts b/.github/actions/validate-issue/src/index.ts index efd5c141..5e7b784e 100644 --- a/.github/actions/validate-issue/src/index.ts +++ b/.github/actions/validate-issue/src/index.ts @@ -348,6 +348,13 @@ async function run() { } async function postComment(body: string) { + // Check that this comment has not been previously commented + if (comments.length) { + if (comments.some((comment) => comment.body === body)) { + console.log("Already commented"); + return; + } + } return await octokit.rest.issues.createComment({ owner,