Commit fdbc28f
ci: mask fetched Permit API key so it is not logged in cleartext
The Fetch API_KEY step wrote the env api key to $GITHUB_ENV and echoed it
directly, so it appeared in cleartext in the run logs and in the env-group
dump of every later step. Register the value with ::add-mask:: before
exporting it, and drop the explicit echo, so it is redacted everywhere.
PROJECT_API_KEY should still be rotated since it was exposed in prior runs.
Fixes PER-15241.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b296d1f commit fdbc28f
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
0 commit comments