From e974b44e8673ded449ce4a3ed5844398b68e81a2 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 23 Dec 2021 16:34:31 +0100 Subject: Fix execution of style tests --- share/spack/qa/run-style-tests | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/spack/qa/run-style-tests b/share/spack/qa/run-style-tests index 9f0cbdb266..df3d441c75 100755 --- a/share/spack/qa/run-style-tests +++ b/share/spack/qa/run-style-tests @@ -19,6 +19,8 @@ args=() if [[ -n $GITHUB_BASE_REF ]]; then args+=("--base" "${GITHUB_BASE_REF}") +else + args+=("--base" "${GITHUB_REF_NAME}") fi # verify that the code style is correct -- cgit v1.2.3-70-g09d2