Compare commits

..

2 Commits

Author SHA1 Message Date
Eduard Filip
d50df7cd6d Merge pull request #11 from 1Password/eddy/fix-injection
Some checks failed
Run acceptance tests / test (push) Has been cancelled
Improve the way input is processed to avoid command injection
2022-05-18 17:42:36 +02:00
Eddy Filip
a5debe1b2e Improve the way input is processed to avoid command injection 2022-05-18 12:47:49 +03:00
2 changed files with 11 additions and 9 deletions

View File

@@ -11,7 +11,8 @@ inputs:
runs:
using: composite
steps:
- run: |
export INPUT_UNSET_PREVIOUS=${{ inputs.unset-previous }}
- shell: bash
env:
INPUT_UNSET_PREVIOUS: ${{ inputs.unset-previous }}
run: |
${{ github.action_path }}/entrypoint.sh
shell: bash

View File

@@ -9,8 +9,9 @@ inputs:
runs:
using: composite
steps:
- run: |
export INPUT_CONNECT_HOST=${{ inputs.connect-host }}
export INPUT_CONNECT_TOKEN=${{ inputs.connect-token }}
- shell: bash
env:
INPUT_CONNECT_HOST: ${{ inputs.connect-host }}
INPUT_CONNECT_TOKEN: ${{ inputs.connect-token }}
run: |
${{ github.action_path }}/entrypoint.sh
shell: bash