Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 894 Bytes

using-conditions-to-control-job-execution.md

File metadata and controls

24 lines (18 loc) · 894 Bytes
title shortTitle intro versions redirect_from
Using conditions to control job execution
Use conditions to control job execution
Prevent a job from running unless your conditions are met.
fpt ghes ghec
*
*
*
/actions/using-jobs/using-conditions-to-control-job-execution

{% data reusables.actions.enterprise-github-hosted-runners %}

Overview

{% data reusables.actions.workflows.skipped-job-status-checks-passing %}

{% data reusables.actions.jobs.section-using-conditions-to-control-job-execution %}

On a skipped job, you should see "This check was skipped."

Note

In some parts of the workflow you cannot use environment variables. Instead you can use contexts to access the value of an environment variable. For more information, see AUTOTITLE.