List the available contexts and what each holds.
BeginnerConceptContexts, Expressions, Env & Outputs
Answer
github (event, repo, ref, sha, actor, run IDs, token), env (variables from workflow/job/step env), vars (configuration variables), secrets, inputs (dispatch or workflow_call inputs), job (container and services info, status), jobs (outputs of jobs, only in reusable workflows for defining outputs), steps (outputs, outcome, conclusion of earlier steps with an id), runner (os, arch, temp, tool_cache), strategy (fail-fast, job-index, job-total), matrix, and needs (outputs and results of dependency jobs).
More on Contexts, Expressions, Env & Outputs
Which contexts can you use in which keys? Give two examples that trip people up.AdvancedWhat are the expression operators and how do comparisons coerce types?IntermediateHow do you write a ternary in GitHub Actions expressions?IntermediateWhat do `contains`, `startsWith`, `endsWith`, `format` and `join` do?BeginnerWhat are object filters (`.*`) and how are they useful?IntermediateWhat do `toJSON` and `fromJSON` do, and give a real use of each?Intermediate