From 192d3d0344e926d1ce8539f0de7af2bb1b12eeb6 Mon Sep 17 00:00:00 2001 From: Nicolas Frati Date: Wed, 7 Oct 2026 18:17:24 +0200 Subject: [PATCH] [infrastructure] Find per-arch preflight results in the Red Hat certify check (#8111) For a manifest list, preflight writes results.json only under artifacts//. The literal artifacts/results.json path is not a glob, so nullglob kept it in the list and jq failed on the missing file even though every check passed. A single globstar pattern matches both layouts. --- .github/workflows/redhat-certify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/redhat-certify.yml b/.github/workflows/redhat-certify.yml index fa0a87c64..7c26c79fb 100644 --- a/.github/workflows/redhat-certify.yml +++ b/.github/workflows/redhat-certify.yml @@ -154,8 +154,8 @@ jobs: - name: Fail if any check did not pass run: | set -euo pipefail - shopt -s nullglob - results=(artifacts/results.json artifacts/*/results.json) + shopt -s nullglob globstar + results=(artifacts/**/results.json) if [[ ${#results[@]} -eq 0 ]]; then echo "::error::preflight produced no results.json" exit 1