Repository navigation
PR checks: Run slowest macOS checks on larger runners #3903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
fcdf5dd
aa005fa
a32db48
1b65777
931147e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,10 +28,21 @@ interface WorkflowInput { | |
| /** A partial mapping from known input names to input definitions. */ | ||
| type WorkflowInputs = Partial<Record<KnownInputName, WorkflowInput>>; | ||
|
|
||
| /** An operating system identifier. */ | ||
| type OperatingSystemIdentifier = "ubuntu" | "macos" | "windows"; | ||
|
|
||
| /** | ||
| * Represents an operating system matrix entry for a generated PR check workflow. | ||
| * | ||
| * Either a string containing the OS identifier or an object containing the OS identifier and an | ||
| * optional runner image label. | ||
| */ | ||
| type OperatingSystem = | ||
| | string | ||
| | OperatingSystemIdentifier | ||
| | { | ||
| os: string; | ||
| /** OS identifier. */ | ||
| os: OperatingSystemIdentifier; | ||
| /** Optional runner image label. */ | ||
| "runner-image"?: string; | ||
| }; | ||
|
Comment on lines
+40
to
+47
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor: JSDocs? Perhaps rather than having the extended description below, move some of that here and then simplify the doc for
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I also wonder if having both
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've added JSDoc and a more specific type for |
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!