Rotate checker shards by workflow run number

This commit is contained in:
Bart Piotrowski committed 2026-09-22 23:08:33 +02:00
1 parent 9c5fe1ae88
commit 8e0c1912b4
1 file changed
+1 -2
@@ -45,8 +45,7 @@ if [[ -n "${APP_ID:-}" ]]; then
fi
candidates["$APP_ID"]=1
else
hour=$(date -u +%H)
shard=$((10#$hour / 4))
shard=$(((GITHUB_RUN_NUMBER - 1) % 6))
echo "==> Discovering apps for shard $shard/6"
for marker in extra-data x-checker-data .AppImage; do
for extension in json yaml yml; do