mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
f90b2db317
## Description The `release-notes-pr-trigger` workflow was interpolating PR context values (`html_url`, `title`, `user.login`) directly into a shell heredoc. A specially crafted PR title or author name could break out of the JSON string and execute arbitrary commands. This change moves the GitHub context values into environment variables and uses `jq` to safely construct the JSON artifact, eliminating the injection vector. ## Related issues or tickets None ## Reviews - [x] Technical review Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>