ReviewOS

also looking at this

stacks/buddy

feat(setup): make the preset you pick the preset you get

#1412
Merged glennmichael123 wants to merge feat/preset-wiring into main
10 files +507 -61
test/cli-setup-non-interactive.test.tsmodified+2-2
Changes to test/cli-setup-non-interactive.test.ts
@@ -43,13 +43,13 @@ describe('CLI Setup - Non-Interactive Mode', () => {
4343 })
4444
4545 describe('Workflow Generation Functions', () => {
46 it('should generate update workflow with correct schedule for every 2 hours', async () => {
46 it('should generate the update schedule the preset asks for', async () => {
4747 const { generateUnifiedWorkflow } = await import('../src/setup')
4848
4949 const workflow = generateUnifiedWorkflow(false)
5050
5151 expect(workflow).toContain('name: Buddy')
52 expect(workflow).toContain('cron: \'0 */2 * * *\'')
52 expect(workflow).toContain('cron: \'0 9 * * 1,3,5\'')
5353 expect(workflow).toContain('default: true') // dry_run default
5454 expect(workflow).toContain('dependency-update:') // job name
5555 expect(workflow).toContain('fetch-depth: 0')