also looking at this
fix(gates): actually refresh the dashboard instead of reporting that it did
#1425
3 files
+86
-3
| @@ -3148,6 +3148,11 @@ cli | ||
| 3148 | 3148 | const outcome = await runPostMerge(provider, pr, config.gates?.postMerge ?? {}, { |
| 3149 | 3149 | baseBranch: config.repository?.baseBranch ?? pr.base, |
| 3150 | 3150 | logger, |
| 3151 | // Supplied here because refreshing means a full scan, which is | |
| 3152 | // `Buddy`'s job rather than the gate module's. | |
| 3153 | refreshDashboard: async () => { | |
| 3154 | await new Buddy(config).createOrUpdateDashboard() | |
| 3155 | }, | |
| 3151 | 3156 | }) |
| 3152 | 3157 | |
| 3153 | 3158 | for (const action of outcome.performed) |