refactor: Use pushTriggerItem utility function for triggers
This commit is contained in:
@@ -44,7 +44,7 @@ const newIssues = async ($: IGlobalVariable) => {
|
||||
},
|
||||
};
|
||||
|
||||
$.triggerOutput.data.push(dataItem);
|
||||
$.pushTriggerItem(dataItem);
|
||||
}
|
||||
}
|
||||
} while (links.next && !$.execution.testRun);
|
||||
|
@@ -55,7 +55,7 @@ const newStargazers = async ($: IGlobalVariable) => {
|
||||
},
|
||||
};
|
||||
|
||||
$.triggerOutput.data.push(dataItem);
|
||||
$.pushTriggerItem(dataItem);
|
||||
}
|
||||
}
|
||||
} while (pathname && !$.execution.testRun);
|
||||
|
Reference in New Issue
Block a user