Disable Individual GitHub Action in YAML file

Hello All,

I am trying to find out what key/value to use to disable an individual GitHub Action within a YAML file. Tasks within a YAML file used with AzureDevOps can be disabled by adding

enabled: ‘false’

Trying to find out what is the equivalent within GitHub Actions.

1 Like

@elliottfieldsjr,

In GitHub Actions workflows, currently there is not a similar feature to disable the job or step.
As the workaround, you can use the if conditional to skip the job or step:

If your projects really need this feature, I recommend that you can directly report a feature request here. That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions.

1 Like