Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ValtteriL committed Apr 12, 2024
1 parent 49cd887 commit 1adc8d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: Molemmat-Oy/opalopc-scan-action@development
with:
target-url: 'opc.tcp://scanme.opalopc.com:53530'
license-key: ${{ secrets.opalopc-license-key }}
license-key: ${{ secrets.OPALOPC_LICENSE_KEY }}

- name: Verify the reports exist
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ steps:
uses: Molemmat-Oy/opalopc-scan-action@main
with:
target-url: 'opc.tcp://scanme.opalopc.com:53530'
license-key: ${{ secrets.opalopc-license-key }}
license-key: ${{ secrets.OPALOPC_LICENSE_KEY }}
```
## Suggested Usage
Expand Down
10 changes: 4 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'

0 comments on commit 1adc8d1

Please sign in to comment.