also looking at this
feat(touch): post the checkboxes the finishing-touch flow waits on
#1424
7 files
+149
-5
| @@ -108,6 +108,14 @@ describe('generated workflow reachability', () => { | ||
| 108 | 108 | outputs: { run_check: 'true' }, |
| 109 | 109 | expect: ['check', 'touch', 'gate'], |
| 110 | 110 | }, |
| 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 | }, | |
| 111 | 119 | { |
| 112 | 120 | event: 'pull request merged', |
| 113 | 121 | github: { event_name: 'pull_request', event: { action: 'closed', pull_request: { draft: false, merged: true } } }, |