| 1 | -- Pushing without a run (oxygenhub#284): `[skip flow]`, `[skip ci]` or |
| 2 | -- `[ci skip]` in the newest pushed change's message records a skipped run |
| 3 | -- instead of starting jobs. Where a maintainer allows it: `any` bookmark |
| 4 | -- (the default), `others` than the default bookmark, or `never`. |
| 5 | repositories ADD COLUMN flow_skip TEXT NOT NULL DEFAULT 'any'; |
| 6 | |
| 7 | -- A skipped run is recorded with status `skipped`. |
| 8 | flow_runs DROP CONSTRAINT flow_runs_status_check; |
| 9 | flow_runs ADD CONSTRAINT flow_runs_status_check |
| 10 | CHECK (status IN ('queued', 'running', 'passed', 'failed', 'error', 'cancelled', 'skipped')); |