refactor: Remove test run and completion check from new issues

This commit is contained in:
Faruk AYDIN 2022-10-28 01:10:15 +02:00
parent 87fdc02224
commit 031e175e9f

View File

@ -34,9 +34,6 @@ const newIssues = async ($: IGlobalVariable) => {
for (const issue of response.data) {
const issueId = issue.id;
if (issueId <= Number($.flow.lastInternalId) && !$.execution.testRun)
return;
const dataItem = {
raw: issue,
meta: {
@ -47,7 +44,7 @@ const newIssues = async ($: IGlobalVariable) => {
$.pushTriggerItem(dataItem);
}
}
} while (links.next && !$.execution.testRun);
} while (links.next);
};
export default newIssues;