From 605754af2ef80eb86c7770246314e69feeeb427b Mon Sep 17 00:00:00 2001 From: Aidan McPhelim Date: Thu, 18 Apr 2024 17:21:14 +0100 Subject: [PATCH] fixed quotes issue --- .github/workflows/cve-scanning-node.yml | 20 ++++++++++---------- .github/workflows/license-scanning-node.yml | 12 ++++++------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/cve-scanning-node.yml b/.github/workflows/cve-scanning-node.yml index 538c711e..e603626e 100644 --- a/.github/workflows/cve-scanning-node.yml +++ b/.github/workflows/cve-scanning-node.yml @@ -3,13 +3,13 @@ name: CVE Scanning for Node.js on: workflow_dispatch: schedule: - - cron: "0 8,18 * * 1-5" + - cron: '0 8,18 * * 1-5' push: paths: - - "**/package.json" - - "**/package-lock.json" - - ".github/workflows/node-cve-ignore-list.xml" - - ".github/workflows/cve-scanning-node.yml" + - '**/package.json' + - '**/package-lock.json' + - '.github/workflows/node-cve-ignore-list.xml' + - '.github/workflows/cve-scanning-node.yml' jobs: node-modules-scan: @@ -18,7 +18,7 @@ jobs: continue-on-error: false strategy: matrix: - module-folder: ["cli", "docs"] + module-folder: ['cli', 'docs'] steps: - name: Checkout uses: actions/checkout@v4 @@ -33,10 +33,10 @@ jobs: uses: dependency-check/Dependency-Check_Action@main id: Depcheck with: - project: "${{ matrix.module-folder }}" - path: "${{ matrix.module-folder }}" - format: "HTML" - out: "${{ matrix.module-folder }}-reports" + project: '${{ matrix.module-folder }}' + path: '${{ matrix.module-folder }}' + format: 'HTML' + out: '${{ matrix.module-folder }}-reports' args: > --suppression .github/node-cve-ignore-list.xml --nodeAuditSkipDevDependencies diff --git a/.github/workflows/license-scanning-node.yml b/.github/workflows/license-scanning-node.yml index e8ba4c91..8ade4ac3 100644 --- a/.github/workflows/license-scanning-node.yml +++ b/.github/workflows/license-scanning-node.yml @@ -2,20 +2,20 @@ name: License Scanning for Node.js on: schedule: - - cron: "0 8,18 * * 1-5" + - cron: '0 8,18 * * 1-5' push: paths: - - "**/package-json.lock" - - "**/package.json" - - ".github/workflows/license-scanning-node.yml" + - '**/package-json.lock' + - '**/package.json' + - '.github/workflows/license-scanning-node.yml' jobs: scan: runs-on: ubuntu-latest strategy: matrix: - node-version: ["20.x"] - module-folder: ["cli", "docs"] + node-version: ['20.x'] + module-folder: ['cli', 'docs'] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }}