Merge pull request #7 from actions/command-injection-bounty
Mitigate command injection vulnerability
This commit is contained in:
@@ -58,9 +58,12 @@ jobs:
|
|||||||
run: bundle install --without development
|
run: bundle install --without development
|
||||||
- name: Prepare arguments
|
- name: Prepare arguments
|
||||||
id: prepare
|
id: prepare
|
||||||
|
env:
|
||||||
|
ISSUE_BODY: ${{ github.event.issue.body }}
|
||||||
|
COMMENT_BODY: ${{ github.event.comment.body }}
|
||||||
|
LABELS: ${{ toJSON(github.event.issue.labels.*.name) }}
|
||||||
run: |
|
run: |
|
||||||
echo "${{ toJSON(github.event.issue.labels.*.name) }}"
|
./bin/parse_issue "${{ env.ISSUE_BODY }}" "${{ env.COMMENT_BODY }}" "${{ env.LABELS }}"
|
||||||
./bin/parse_issue "${{ github.event.issue.body }}" "${{ github.event.comment.body }}" "${{ toJSON(github.event.issue.labels.*.name) }}"
|
|
||||||
- name: Validate arguments
|
- name: Validate arguments
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ steps.prepare.outputs.provider }}" ]; then
|
if [ -z "${{ steps.prepare.outputs.provider }}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user