ReviewOS

also looking at this

stacks/buddy

feat(touch): post the checkboxes the finishing-touch flow waits on

#1424
Merged glennmichael123 wants to merge fix/touch-offer into main
7 files +149 -5
test/workflow-reachability.test.tsmodified+8-0
Changes to test/workflow-reachability.test.ts
@@ -108,6 +108,14 @@ describe('generated workflow reachability', () => {
108108 outputs: { run_check: 'true' },
109109 expect: ['check', 'touch', 'gate'],
110110 },
111 {
112 // The offer has to be posted before there is a box to tick, so `touch`
113 // runs on the opening event too.
114 event: 'pull request opened (finishing-touch offer)',
115 github: { event_name: 'pull_request', event: { action: 'opened', pull_request: { draft: false, merged: false } } },
116 outputs: { run_review: 'true' },
117 expect: ['touch'],
118 },
111119 {
112120 event: 'pull request merged',
113121 github: { event_name: 'pull_request', event: { action: 'closed', pull_request: { draft: false, merged: true } } },