Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Handle when tags are not defined (#63588)

Ryan Laurie2e4c39904e3b
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 893d6ea3bfd..bac80060d0a 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -143,7 +143,7 @@ jobs:
run: |
echo "Running tests with specs: $SPEC_PATH"
node e2e/runner/run_cypress_ci.js e2e \
- --env grepTags="${{inputs.tags}}+-@skip",grepOmitFiltered=true \
+ --env grepTags="${{inputs.tags && format('{0}+-@skip', inputs.tags) || '-@skip'}}",grepOmitFiltered=true \
--spec "$SPEC_PATH" \
--browser ${{ steps.cypress-prep.outputs.chrome-path }}