Skip to content

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

Merged
soridalac merged 2 commits into
mainfrom
sl/W-25039013
Dec 1, 2026
Merged

soridalac merged 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
@soridalac
soridalac merged commit bae1784 into main Dec 1, 2026
39 checks passed
@soridalac
soridalac deleted the sl/W-25039013 branch December 1, 2026 21:31
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