We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5277435 commit 58079cfCopy full SHA for 58079cf
tools/releaser/src/utils/github.ts
@@ -901,8 +901,12 @@ export async function triggerBuildWorkflows(
901
per_page: 5
902
});
903
904
- // Find the most recent run (should be the one we just triggered)
905
- const latestRun = runs.workflow_runs[0];
+ // Find the most recent run (should be the one we just triggered)
+ if (runs.workflow_runs.length > 0) {
906
+ latestRun = runs.workflow_runs[0];
907
+ break;
908
+ }
909
910
911
if (latestRun) {
912
triggeredRuns.push({
0 commit comments