[Fix] Github Action possible command injection via unsanitised user input like review body and gti (#7569)

Co-authored-by: Vasyl Spachynskyi <vasyl.spachynskyi@dataart.com>
This commit is contained in:
VS
2025-04-01 18:26:46 +03:00
committed by GitHub
parent 89bfbfad59
commit 4a2045ecca
2 changed files with 6 additions and 3 deletions

View File

@@ -19,9 +19,10 @@ jobs:
ref: ${{ github.head_ref }}
- name: Trigger remote job
env:
PR_BRANCH: ${{ github.head_ref }}
run: |
REPO_URL="https://github.com/${{ github.repository }}"
PR_BRANCH="${{ github.head_ref }}"
echo "Repository URL: $REPO_URL"
echo "PR Branch: $PR_BRANCH"