Merge pull request #13258 from orbisai0security/fix-shell-injection-deployment-workflow

fix: using variable interpolation `${{ in deployment.yml...
This commit is contained in:
William Martin 2026-04-22 12:55:43 +02:00 committed by GitHub
commit 6d986480b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,8 +32,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Validate tag name format
env:
TAG_NAME: ${{ inputs.tag_name }}
run: |
if [[ ! "${{ inputs.tag_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ ! "$TAG_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Invalid tag name format. Must be in the form v1.2.3"
exit 1
fi