- Notifications
You must be signed in to change notification settings - Fork1k
Commitfcebf9a
committed
fix: prevent template injection in docs preview workflow
Use environment variables instead of direct template expansion in bashcommands to prevent potential code injection attacks through branch names.This addresses the zizmor linter check for template injection vulnerabilities.1 parent1be9e28 commitfcebf9a
1 file changed
+7
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 |
| |
33 | 36 |
| |
34 |
| - | |
35 |
| - | |
| 37 | + | |
| 38 | + | |
36 | 39 |
| |
37 | 40 |
| |
38 | 41 |
| |
| |||
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
46 |
| - | |
47 |
| - | |
| 49 | + | |
48 | 50 |
| |
49 | 51 |
| |
50 | 52 |
| |
| |||
63 | 65 |
| |
64 | 66 |
| |
65 | 67 |
| |
66 |
| - | |
| 68 | + | |
67 | 69 |
| |
68 | 70 |
| |
69 | 71 |
| |
|
0 commit comments
Comments
(0)