Commit 892efa4
committed
fix(ci): harden trigger-maven-release against script-injection
Move tag_name interpolation out of inline JS into an env var and read it
via process.env, matching the pattern already used in release.yml. Also
scope actions: write to the trigger-maven-release job instead of the
whole workflow so release-please runs with minimum privilege.
Addresses review feedback from @j10t on PR #161.1 parent edc94f3 commit 892efa4
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 50 | + | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
0 commit comments