[ACS-10124] Fix Change this action to not use user-controlled data directly in a run block sonar issue (#4810)

* [ACS-10124] Fix Change this action to not use user-controlled data directly in a run block sonar issue

* [ACS-10124] Corrected typo
This commit is contained in:
AleksanderSklorz
2025-09-25 10:50:08 +02:00
committed by GitHub
parent 0407c236c4
commit 296789da22
5 changed files with 21 additions and 9 deletions
@@ -19,6 +19,8 @@ runs:
- name: Setup and run with options
shell: bash
env:
OPTIONS: ${{ inputs.options }}
run: |
npm start > /dev/null &\
@@ -29,5 +31,5 @@ runs:
done
printf "\nApplication is ready.\n"
echo "Running playwright tests with options ${{ inputs.options }}"
E2E_TARGET=${{ inputs.options }} npm run ci:e2e
echo "Running playwright tests with options $OPTIONS"
E2E_TARGET=$OPTIONS npm run ci:e2e