Before you start, set up Trunk CI for GitHub Actions
and store your organization’s API token from
Settings → Organization → General
as a repository secret named
TRUNK_API_TOKEN.Add the filter job to the top of your workflow
List every job you want to gate underoutputs.
Gate your jobs on it
jobs:, not its display name:.
Gating a single job instead (pre-step mode)
Gating a single job instead (pre-step mode)
A job can ask about itself by passing its own key in
job-keys, and skip its
own steps. It saves less, because the runner has already started.