We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b65777 commit 931147eCopy full SHA for 931147e
1 file changed
pr-checks/sync.ts
@@ -28,10 +28,21 @@ interface WorkflowInput {
28
/** A partial mapping from known input names to input definitions. */
29
type WorkflowInputs = Partial<Record<KnownInputName, WorkflowInput>>;
30
31
+/** An operating system identifier. */
32
+type OperatingSystemIdentifier = "ubuntu" | "macos" | "windows";
33
+
34
+/**
35
+ * Represents an operating system matrix entry for a generated PR check workflow.
36
+ *
37
+ * Either a string containing the OS identifier or an object containing the OS identifier and an
38
+ * optional runner image label.
39
+ */
40
type OperatingSystem =
- | string
41
+ | OperatingSystemIdentifier
42
| {
- os: string;
43
+ /** OS identifier. */
44
+ os: OperatingSystemIdentifier;
45
+ /** Optional runner image label. */
46
"runner-image"?: string;
47
};
48
0 commit comments