Commit e2a4f3f
committed
ci(smoke-test): pass workflow inputs through env vars
Move `inputs.preset`, `inputs.version`, `matrix.docker`, and `matrix.bin`
into `env:` blocks so shell interpolation happens after variable
expansion rather than template substitution. Closes the CodeQL
actions/code-injection/critical finding on the version comparison.
The values are already gated upstream (release.yml requires
author_association in MEMBER/OWNER for issue_comment triggers), so this
is defense-in-depth, but the pattern is cheap to follow and eliminates
the rule entirely.1 parent 7bfbe2a commit e2a4f3f
1 file changed
Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
88 | 94 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | | - | |
| 98 | + | |
94 | 99 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
0 commit comments