Skip to content

PBM-1759. Fix template injection in step for determining test branch#1316

Merged
sandraromanchenko merged 1 commit into
devfrom
PBM-1759
May 6, 2026
Merged

PBM-1759. Fix template injection in step for determining test branch#1316
sandraromanchenko merged 1 commit into
devfrom
PBM-1759

Conversation

@sandraromanchenko
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 6, 2026 11:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI GitHub Actions workflow to mitigate template injection risk in the “Determine test branch” step by avoiding direct interpolation of ${{ ... }} expressions inside the shell script.

Changes:

  • Pass tests_ver and PR title into the step via env variables (TESTS_VER, PR_TITLE).
  • Update the branch-selection shell logic to use those environment variables instead of inline expressions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
@sandraromanchenko sandraromanchenko merged commit d6ca60a into dev May 6, 2026
29 checks passed
@sandraromanchenko sandraromanchenko deleted the PBM-1759 branch May 6, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants