Improve the way input is processed to avoid command injection
This commit is contained in:
@@ -11,7 +11,8 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- shell: bash
|
||||||
export INPUT_UNSET_PREVIOUS=${{ inputs.unset-previous }}
|
env:
|
||||||
|
INPUT_UNSET_PREVIOUS: ${{ inputs.unset-previous }}
|
||||||
|
run: |
|
||||||
${{ github.action_path }}/entrypoint.sh
|
${{ github.action_path }}/entrypoint.sh
|
||||||
shell: bash
|
|
||||||
|
|||||||
@@ -9,8 +9,9 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- shell: bash
|
||||||
export INPUT_CONNECT_HOST=${{ inputs.connect-host }}
|
env:
|
||||||
export INPUT_CONNECT_TOKEN=${{ inputs.connect-token }}
|
INPUT_CONNECT_HOST: ${{ inputs.connect-host }}
|
||||||
|
INPUT_CONNECT_TOKEN: ${{ inputs.connect-token }}
|
||||||
|
run: |
|
||||||
${{ github.action_path }}/entrypoint.sh
|
${{ github.action_path }}/entrypoint.sh
|
||||||
shell: bash
|
|
||||||
|
|||||||
Reference in New Issue
Block a user