Skip to content

Commit 472599a

Browse files
fix: SonarQube Security hotspots (#1833)
1 parent 63da1fb commit 472599a

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci-ui-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cache-dependency-path: application/CohortManager/src/Web/package-lock.json
2828

2929
- name: Install dependencies
30-
run: npm ci
30+
run: npm ci --ignore-scripts
3131

3232
- name: Run Unit tests
3333
run: npm run test:unit

application/CohortManager/src/Web/.github/workflows/end-to-end-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
version: latest
2626

2727
- name: Install dependencies
28-
run: pnpm install
28+
run: pnpm install --ignore-scripts
2929

3030
- name: Install Playwright Browsers
31-
run: pnpm exec playwright install --with-deps
31+
run: pnpm exec playwright install --with-deps --ignore-scripts
3232

3333
- name: Run Playwright tests
3434
run: pnpm exec playwright test

application/CohortManager/src/Web/.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: lts/*
2626

2727
- name: Install dependencies
28-
run: pnpm install
28+
run: pnpm install --ignore-scripts
2929

3030
- name: Run unit tests
3131
run: pnpm test

scripts/config/devcontainer/post-build-cfg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ git config --global --add safe.directory "$PWD"
3737

3838
# --- Install Azure CLI ---
3939
echo "⚙️ Installing Azure CLI..."
40-
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
40+
curl -sL https://aka.ms/InstallAzureCLIDeb --proto "=https" | sudo bash
4141

4242
# --- Project Setup ---
4343
echo "⚙️ Running project-specific configuration..."

scripts/reports/sonar-analysis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if [ -d "application/CohortManager/src/Web" ]; then
113113
n=0
114114
until [ "$n" -ge 3 ]
115115
do
116-
npm ci && break
116+
npm ci --ignore-scripts && break
117117
n=$((n+1))
118118
sleep $((n*15))
119119
done

0 commit comments

Comments
 (0)