From 59491284b80938f7a66779481442c4f428dda56a Mon Sep 17 00:00:00 2001 From: Aziz Chynaliev Date: Mon, 7 Oct 2024 01:53:07 +0500 Subject: [PATCH] server: improve testmerge worker 10 --- .github/workflows/testmerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testmerge.yml b/.github/workflows/testmerge.yml index a6c97894da1..ecc9206c851 100644 --- a/.github/workflows/testmerge.yml +++ b/.github/workflows/testmerge.yml @@ -30,7 +30,7 @@ jobs: per_page: 100 }); const labeledPRs = []; - const sortedPRsASC = pullRequests.sort((a, b) => a.createdAt.localeCompare(b.createdAt)); + const sortedPRsASC = pullRequests.sort((a, b) => a.created_at.localeCompare(b.created_at)); for (const pr of sortedPRsASC) { if (pr.labels.some(label => label.name === label_needed)) { console.log(`PR ${pr.title}`);