From ad40e52957ff52d3f6e0a103c995936a1b0fc790 Mon Sep 17 00:00:00 2001 From: ashwiniag Date: Sat, 12 Oct 2024 22:15:41 +0530 Subject: [PATCH] debugg --- .github/actions/gokakashi-scan/action.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/actions/gokakashi-scan/action.yaml b/.github/actions/gokakashi-scan/action.yaml index 34fda63..12c5b7a 100644 --- a/.github/actions/gokakashi-scan/action.yaml +++ b/.github/actions/gokakashi-scan/action.yaml @@ -10,7 +10,7 @@ inputs: description: 'API token for authentication with goKakashi' required: true image_name: - description: 'The image to scan' + description: 'The Docker image to scan' required: true severity: description: 'Comma-separated list of severity levels to report' @@ -19,6 +19,7 @@ inputs: publish: description: 'The publish path for the scan report' required: false + default: 'report_private' fail_on_severity: description: 'Comma-separated list of severity levels to fail the job on (e.g., CRITICAL,HIGH)' required: false @@ -29,18 +30,5 @@ outputs: description: 'URL of the scan report' runs: - using: 'composite' - steps: - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '20.x' - cache: npm - - - name: Install dependencies - run: npm ci - shell: bash - - - name: Run goKakashi scan - run: node index.js - shell: bash \ No newline at end of file + using: 'node20' + main: 'index.js' \ No newline at end of file