Commit 8e88d8c
fix(ci): strip OpenRouter key + read model pins from secrets in baseline refresh
The refresh-baseline run hit a 401 "Missing Authentication header" from
OpenRouter. The stored OPENROUTER_API_KEY secret carries a trailing newline; the
workflow passed it raw, so it landed in the Authorization header and was rejected
(a malformed-header 401, not a bad key). The review action already strips the key,
which is why it authenticates — mirror that here.
Also: AGENT_MODEL/PARSING_MODEL live in secrets (not vars) in this repo, so the
prior `vars.*` reads resolved empty. Read them from secrets and strip whitespace.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6aaebf9 commit 8e88d8c
1 file changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
130 | 137 | | |
131 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
132 | 144 | | |
133 | 145 | | |
| 146 | + | |
134 | 147 | | |
135 | 148 | | |
136 | 149 | | |
| |||
0 commit comments