Which context is NOT available during the 'if:' condition evaluation at the job level?
Select an answer to reveal the explanation.
Short Explanation and Infographic
The 'steps' context only exists inside a job's steps — at the job level you haven't entered the job yet, so no steps have run.
Full explanation below image
Full Explanation
Context availability varies by location in the workflow. At the job level 'if:' condition, the following contexts are available: github, needs, vars, inputs. The 'steps' context is only available inside steps (within the job body) because steps haven't executed yet when the job-level if: is evaluated. Other contexts like 'secrets', 'env', and 'runner' are also not available at the job level if: condition. Understanding context availability is crucial for writing correct conditional expressions.