Skip to content

Commit b9c6075

Browse files
Potential fix for code scanning alert no. 142: Code injection
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent a0fe0cb commit b9c6075

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

aks-deploy/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,12 @@ runs:
123123
- name: 🗑Remove deployment
124124
if: ${{ inputs.uninstall == true }}
125125
shell: bash
126+
env:
127+
APP_NAME: ${{ inputs.app_name }}
128+
NAMESPACE: ${{ inputs.namespace }}
126129
run: |
127130
echo "🗑Launch helm uninstall"
128-
helm uninstall ${{ inputs.app_name }} -n ${{ inputs.namespace }}
131+
helm uninstall "$APP_NAME" -n "$NAMESPACE"
129132
echo "✔️Helm uninstall"
130133
131134

0 commit comments

Comments
 (0)