Skip to content

fix: harden workflow_dispatch inputs in release workflow-W-25039013 - #3049

Open
soridalac wants to merge 2 commits into
mainfrom
sl/W-25039013
Open

soridalac wants to merge 2 commits into
mainfrom
sl/W-25039013

Conversation

@soridalac

Copy link
Copy Markdown
Contributor

Summary

  • Move string-type workflow_dispatch inputs from inline ${{ }} expression
    expansion to environment variables in make-pr-for-release.yml
  • Add input validation step with regex allowlists (defense-in-depth)
  • Aligns with the same hardening already applied to make-pr-for-nightly.yml
    in fix: prevent command injection in nightly workflow @W-24289114@ #2938

@W-25039013@

Test plan

  • Trigger release workflow with valid inputs — should succeed
  • Trigger with empty optional inputs — should succeed
  • Trigger with invalid characters in string inputs — should fail at
    validation step

@soridalac
soridalac requested a review from a team as a code owner November 30, 2026 20:04

This branch has not been deployed

No deployments
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.

2 participants