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. |
|
|
{% data reusables.actions.enterprise-github-hosted-runners %}
{% 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.