Skip to content

Commit

Permalink
fix: us environment variable for untrusted input
Browse files Browse the repository at this point in the history
Co-authored-by: Iain Lane <[email protected]>
  • Loading branch information
Duologic and iainlane authored Jul 4, 2024
1 parent 69003a5 commit e9a80d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actions/argo-lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ runs:
uses: grafana/shared-workflows/actions/install-argo-cli@main

- name: Run
env:
WORKFLOW_PATH: ${{ inputs.path }}
shell: bash
run: argo lint --offline ${{ inputs.path }}
run: argo lint --offline "${WORKFLOW_PATH}"

0 comments on commit e9a80d1

Please sign in to comment.