refactor: Remove test run and completion check from new issues
This commit is contained in:
@@ -34,9 +34,6 @@ const newIssues = async ($: IGlobalVariable) => {
|
|||||||
for (const issue of response.data) {
|
for (const issue of response.data) {
|
||||||
const issueId = issue.id;
|
const issueId = issue.id;
|
||||||
|
|
||||||
if (issueId <= Number($.flow.lastInternalId) && !$.execution.testRun)
|
|
||||||
return;
|
|
||||||
|
|
||||||
const dataItem = {
|
const dataItem = {
|
||||||
raw: issue,
|
raw: issue,
|
||||||
meta: {
|
meta: {
|
||||||
@@ -47,7 +44,7 @@ const newIssues = async ($: IGlobalVariable) => {
|
|||||||
$.pushTriggerItem(dataItem);
|
$.pushTriggerItem(dataItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while (links.next && !$.execution.testRun);
|
} while (links.next);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default newIssues;
|
export default newIssues;
|
||||||
|
Reference in New Issue
Block a user