ReviewOS

also looking at this

stacks/buddy

fix(gates): actually refresh the dashboard instead of reporting that it did

#1425
Merged glennmichael123 wants to merge fix/post-merge-gates into main
3 files +86 -3
bin/cli.tsmodified+5-0
Changes to bin/cli.ts
@@ -3148,6 +3148,11 @@ cli
31483148 const outcome = await runPostMerge(provider, pr, config.gates?.postMerge ?? {}, {
31493149 baseBranch: config.repository?.baseBranch ?? pr.base,
31503150 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 },
31513156 })
31523157
31533158 for (const action of outcome.performed)