|
echo "PR Author: ${{ env.PR_AUTHOR }}" |
|
echo "PR Author fork: ${{ env.PR_AUTHOR_FORK }}" |
|
echo "Source branch name: ${{ env.SOURCE_BRANCH_NAME }}" |
|
echo "Target branch name: ${{ env.TARGET_BRANCH_NAME }}" |
Is it safe to use injections here via env var? I suppose once SOURCE_BRANCH_NAME and other env vars are created, they should be referenced simply as $SOURCE_BRANCH_NAME, otherwise it may not have proper effect.
Please, see Remediation section as a reference.
ci-gha-workflow/.github/workflows/OCV-Contrib-PR-3.4-ARM64.yaml
Lines 57 to 60 in 8578610
Is it safe to use injections here via env var? I suppose once
SOURCE_BRANCH_NAMEand other env vars are created, they should be referenced simply as$SOURCE_BRANCH_NAME, otherwise it may not have proper effect.Please, see Remediation section as a reference.