Commit a20713c
authored
fix: mask decoded PGP key in CI logs (#20)
## Summary
- Decode base64 PGP key and mask with `::add-mask::` before passing to
Gradle
- Key stays in process memory, never written to `$GITHUB_ENV`
- Empty lines filtered to avoid `add-mask` warnings
## Test plan
- [x] Masking verified on [test
repo](https://github.com/endrju19/test-pgp-masking) — decoded key shows
as `***` in logs
- [ ] CI passes1 parent 1b72937 commit a20713c
1 file changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
| |||
0 commit comments