From 972d79af67edc0ef0f5f15dee7c7b5aa386204e2 Mon Sep 17 00:00:00 2001 From: Ballard Date: Wed, 31 Jan 2024 16:07:31 -0500 Subject: [PATCH] changed node version, removed scheduled scan, changed dir variable --- .github/workflows/codeql.yaml | 2 -- .github/workflows/scan-code-owasp-zap.yaml | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index fc495cc64..eb9d9c50e 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -17,8 +17,6 @@ on: pull_request: # The branches below must be a subset of the branches above branches: [main, develop] - schedule: - - cron: "19 23 * * 5" jobs: analyze: diff --git a/.github/workflows/scan-code-owasp-zap.yaml b/.github/workflows/scan-code-owasp-zap.yaml index e140db823..9dd1c47fe 100644 --- a/.github/workflows/scan-code-owasp-zap.yaml +++ b/.github/workflows/scan-code-owasp-zap.yaml @@ -26,7 +26,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - name: Setup package manager and install dependencies id: setup-deps @@ -63,6 +63,7 @@ jobs: npx ${{ inputs.package-manager }} run build npx ${{ inputs.package-manager }} run start & # This starts the server in the background sleep 5 # This allows the server some time to start up + working-directory: ./client - name: Run OWASP ZAP Full Scan uses: zaproxy/action-full-scan@v0.5.1