refactor: Use pushTriggerItem utility function for triggers

This commit is contained in:
Faruk AYDIN
2022-10-24 18:20:55 +02:00
committed by Ali BARIN
parent bda7ad9f2f
commit ea76b5b762
8 changed files with 11 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ const newIssues = async ($: IGlobalVariable) => {
},
};
$.triggerOutput.data.push(dataItem);
$.pushTriggerItem(dataItem);
}
}
} while (links.next && !$.execution.testRun);

View File

@@ -55,7 +55,7 @@ const newStargazers = async ($: IGlobalVariable) => {
},
};
$.triggerOutput.data.push(dataItem);
$.pushTriggerItem(dataItem);
}
}
} while (pathname && !$.execution.testRun);