From b28fe8aed9fcd13babb40b1a241ee22cae1680a2 Mon Sep 17 00:00:00 2001 From: Nicolas Lemoine Date: Wed, 30 Oct 2024 17:32:31 +0100 Subject: [PATCH] fix: Sort packages --- .github/workflows/composer-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/composer-update.yml b/.github/workflows/composer-update.yml index 1d0803e..b22a7f2 100644 --- a/.github/workflows/composer-update.yml +++ b/.github/workflows/composer-update.yml @@ -124,7 +124,7 @@ jobs: async function run(diff) { const composerDiffPackages = Object.values(diff.packages).sort((a, b) => - a.name.startsWith('humanoid/') ? -1 : 1; + a.name.startsWith('humanoid/') ? -1 : 1 ); const markDown = [`# Update summary of ${process.env.NOW}`];