From 14ad7045cc9e75fc379e345ae0c18ebbc9a340da Mon Sep 17 00:00:00 2001 From: Valtteri Lehtinen Date: Fri, 12 Apr 2024 13:00:39 +0300 Subject: [PATCH] Fix workflow --- action.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 5b597f9..1ae857a 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'OpalOPC Scan Action' description: 'Runs a OpalOPC scan against a target site' author: 'Molemmat Oy' inputs: - target: + target-url: description: 'The full url (including scheme) of the server to scan' required: true license-key: @@ -15,14 +15,12 @@ inputs: runs: using: 'docker' image: 'Dockerfile' - entrypoint: 'sh -c' + entrypoint: "sh" env: OPALOPC_LICENSE_KEY: ${{ inputs.license-key }} args: - - opalopc - - -vv - - ${{ inputs.target }} - - -o ${{ inputs.output-base-filename }} + - -c + - opalopc -vv -o "${{ inputs.output-base-filename }}" "${{ inputs.target-url }}" branding: icon: 'activity' color: 'blue'