Fixes command injection vulnerabilities in example workflow files by using
environment variables instead of direct template expansion in shell commands.
This prevents malicious branch names containing command substitution syntax
like $(cmd) from being executed by the shell.
Files fixed:
- examples/ci-failure-auto-fix.yml: github.event.workflow_run.head_branch
- examples/test-failure-analysis.yml: github.event.workflow_run.name and head_branch