diff --git a/.github/workflows/triage-stale-flaky-tests.yml b/.github/workflows/triage-stale-flaky-tests.yml index 90ba7c40f75..3d3bcb0b13c 100644 --- a/.github/workflows/triage-stale-flaky-tests.yml +++ b/.github/workflows/triage-stale-flaky-tests.yml @@ -1,5 +1,6 @@ name: Close stale flaky issues on: + workflow_dispatch: {} schedule: - cron: "30 1 * * *" permissions: {} @@ -17,3 +18,4 @@ jobs: days-before-close: 0 close-issue-message: "This flaky test issue has not been updated in 14 days. It is being closed as presumed resolved." exempt-issue-labels: "Z-Flaky-Test-Disabled" + operations-per-run: 100 diff --git a/scripts/gen-workflow-mermaid.ts b/scripts/gen-workflow-mermaid.ts index 1376323e84d..c33398268f4 100755 --- a/scripts/gen-workflow-mermaid.ts +++ b/scripts/gen-workflow-mermaid.ts @@ -573,7 +573,10 @@ components.forEach((graph) => { let variations = cartesianProduct( Object.keys(job.strategy.matrix) - .filter((key) => key !== "include" && key !== "exclude") + .filter( + (key) => + key !== "include" && key !== "exclude" && Array.isArray(job.strategy!.matrix[key]), + ) .map((matrixKey) => { return job.strategy!.matrix[matrixKey].map((value) => ({ [matrixKey]: value })); }),