From 5513683281926cf3c7eebab02bdae06326bb0402 Mon Sep 17 00:00:00 2001 From: ocaisa Date: Wed, 19 Aug 2026 15:56:59 +0200 Subject: [PATCH] CI: Not reusing `changed_files` on push to main This has meant that in recent runs, the CI has not run to check consistency etc. --- .github/workflows/test-software.eessi.io.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-software.eessi.io.yml b/.github/workflows/test-software.eessi.io.yml index edf18ad64e..f1acdc6c3a 100644 --- a/.github/workflows/test-software.eessi.io.yml +++ b/.github/workflows/test-software.eessi.io.yml @@ -202,7 +202,7 @@ jobs: # The sort ensures predictable ordering, and with -u only keeps unique items (neither are probably essential, but both are nice) # Finally, since the grep returns multiple lines if there are multiple versions that were touched, # the tr replaces newlines with space, to make this space-separated. - EESSI_VERSIONS=$(git diff --name-only origin/${{ github.base_ref }}...HEAD \ + EESSI_VERSIONS=$(printf '%s\n' "$changed_files" \ | grep -oP 'easystacks/software\.eessi\.io/\K[0-9]+\.[0-9]+' \ | sort -u \ | tr '\n' ' ')