Make merge dialog Enter follow the task's offered merge action
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
UPDATE tasks SET ready = coalesce((
|
||||
SELECT json_extract(e.payload, '$.merge') FROM events e
|
||||
WHERE e.task_id = tasks.id AND e.kind = 'task.ready'
|
||||
ORDER BY e.seq DESC LIMIT 1
|
||||
), 'complete')
|
||||
WHERE ready = 'merge';
|
||||
Reference in New Issue
Block a user