thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Advanced

Expression Context

Objects such as github, env, secrets, vars, matrix, needs, and steps that GitHub Actions workflows access using ${{ }} syntax.

Definition

Contexts supply run metadata and data from other steps or jobs. Expressions support operators and functions like contains(), startsWith(), success(), failure(), and always() for conditional execution.

Example

if: github.ref == 'refs/heads/main' && success()

Exam tip

Know status check functions: success() is default; always() runs even after failure or cancellation.

Related terms