GitHub Actions Certification — Question 7

Which statement is true about using default environment variables?

Answer options

Correct answer: D

Explanation

The correct answer is D because the GITHUB_WORKSPACE variable specifically provides the path to the workspace directory within the runner. Options A, B, and C are incorrect as they either misrepresent how to access environment variables or describe settings that are not true regarding default environment variables.