From 4976ae46fec2556c28d64b2fe64a12016fdb4d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Sun, 6 Sep 2026 20:27:03 +0200 Subject: [PATCH] only queue if directory is absent --- .github/workflows/queue_commits.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/queue_commits.yml b/.github/workflows/queue_commits.yml index 153450264..4a3bb5f60 100644 --- a/.github/workflows/queue_commits.yml +++ b/.github/workflows/queue_commits.yml @@ -95,9 +95,8 @@ jobs: commits=$(cd bevy && git log --no-abbrev-commit --pretty=format:%H | sort) for suite in $SUITES; do - pending=$(find "queue/$suite" -maxdepth 1 -type f 2>/dev/null | wc -l) - if [ "$pending" -gt 0 ]; then - echo "$suite: $pending still queued, not backfilling" + if [ -d "queue/$suite" ]; then + echo "$suite: still queued, not backfilling" continue fi