summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-style-tests2
1 files changed, 2 insertions, 0 deletions
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