Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/actionify/mod.ts>Job#maxParallel

Create and manage your GitHub workflows with TypeScript and Deno.
Go to Latest
method Job.prototype.maxParallel
import { Job } from "https://deno.land/x/actionify@0.2.0/mod.ts";

By default, GitHub will maximize the number of jobs run in parallel depending on runner availability. To set the maximum number of jobs that can run simultaneously when using a matrix job strategy, use jobs.<job_id>.strategy.max-parallel.

For example, the following workflow will run a maximum of two jobs at a time, even if there are runners available to run all six jobs at once.

Parameters

maxParallel: number