dev/ci: extract runtype into importable package
Created by: bobheadxi
Extracts the new RunType
from https://github.com/sourcegraph/sourcegraph/pull/30530 into a separate package for import, e.g. for https://github.com/sourcegraph/sourcegraph/pull/30932?no-redirect=1#discussion_r803196181 . I'm opting to place this in dev/ci
(OSS) so that it's easier to import in an OSS tool like sg
, and the core pipeline stuff is still enterprise
import "github.com/sourcegraph/sourcegraph/dev/ci/runtype"
Test plan
sg ci preview
Still works as expected