Commit 50bbfcf
authored
refactor: remove appendProjectArgs and simplify personal account retry (#299)
* refactor: remove appendProjectArgs and simplify retry logic
The --project flag fallback was added as a workaround for personal
account scope errors, but VERCEL_PROJECT_ID set in env is sufficient
for the retry path. Remove the helper and update the warning message
to reflect that VERCEL_PROJECT_ID remains active after clearing
VERCEL_ORG_ID.
* chore(example): update static example vercel.json
Add \$schema reference, remove deprecated version field and
github.enabled config that is no longer needed in modern Vercel config.
* fix: mask vercel token in logs, sanitize commit metadata, and preserve retry error context
- Add core.setSecret(vercelToken) to prevent token leakage in action logs
- Sanitize commit message (strip newlines/quotes) before passing as metadata
- Preserve original error output when retry path also fails
- Remove core.exportVariable for VERCEL_ORG_ID (process.env delete suffices)1 parent 1b0001f commit 50bbfcf
3 files changed
+21
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59652 | 59652 | | |
59653 | 59653 | | |
59654 | 59654 | | |
| 59655 | + | |
59655 | 59656 | | |
59656 | 59657 | | |
59657 | 59658 | | |
| |||
59745 | 59746 | | |
59746 | 59747 | | |
59747 | 59748 | | |
59748 | | - | |
| 59749 | + | |
59749 | 59750 | | |
59750 | 59751 | | |
59751 | 59752 | | |
| |||
59754 | 59755 | | |
59755 | 59756 | | |
59756 | 59757 | | |
59757 | | - | |
59758 | | - | |
59759 | | - | |
59760 | | - | |
59761 | | - | |
59762 | | - | |
59763 | | - | |
59764 | | - | |
59765 | | - | |
59766 | | - | |
59767 | | - | |
59768 | 59758 | | |
59769 | 59759 | | |
59770 | 59760 | | |
| |||
59789 | 59779 | | |
59790 | 59780 | | |
59791 | 59781 | | |
59792 | | - | |
59793 | | - | |
59794 | | - | |
59795 | | - | |
59796 | 59782 | | |
59797 | 59783 | | |
59798 | 59784 | | |
| |||
59812 | 59798 | | |
59813 | 59799 | | |
59814 | 59800 | | |
59815 | | - | |
| 59801 | + | |
59816 | 59802 | | |
59817 | | - | |
59818 | 59803 | | |
59819 | 59804 | | |
| 59805 | + | |
| 59806 | + | |
59820 | 59807 | | |
59821 | 59808 | | |
59822 | 59809 | | |
59823 | | - | |
59824 | 59810 | | |
59825 | 59811 | | |
59826 | 59812 | | |
| 59813 | + | |
| 59814 | + | |
| 59815 | + | |
| 59816 | + | |
| 59817 | + | |
59827 | 59818 | | |
59828 | 59819 | | |
59829 | 59820 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | 173 | | |
184 | 174 | | |
185 | 175 | | |
| |||
204 | 194 | | |
205 | 195 | | |
206 | 196 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | 197 | | |
212 | 198 | | |
213 | 199 | | |
| |||
227 | 213 | | |
228 | 214 | | |
229 | 215 | | |
230 | | - | |
| 216 | + | |
231 | 217 | | |
232 | | - | |
233 | 218 | | |
234 | 219 | | |
| 220 | + | |
| 221 | + | |
235 | 222 | | |
236 | 223 | | |
237 | 224 | | |
238 | | - | |
239 | 225 | | |
240 | 226 | | |
241 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
242 | 233 | | |
243 | 234 | | |
244 | 235 | | |
| |||
0 commit comments