Commit 91e1738
Harden cli-test workflow against script injection
Use the $CLI_VERSION env var instead of interpolating ${{ matrix.version }}
directly into the shell script, and validate the version string read from
supported_cli_versions.json before using it to build the checkout ref.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: dc84e21b-6038-4939-b81a-7b477b0c96341 parent 4a396bf commit 91e1738
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| |||
0 commit comments