Runner Work Directory - CI/CD Glossary Definition
The runner work directory is where a job checks out code and runs, available as GITHUB_WORKSPACE on GitHub Actions.
The runner work directory is the folder on a CI runner where the repository is checked out and jobs execute, exposed as GITHUB_WORKSPACE on GitHub Actions. Relative paths in a workflow resolve against it.
Knowing the work directory helps you write portable steps and debug "file not found" errors caused by wrong relative paths.
Where it lives
The self-hosted runner stores it under _work/<repo>/<repo>. Set a step's working-directory: to run a command in a subfolder without a manual cd.
Related guides
Workspace Cleanup Step - CI/CD Glossary DefinitionWorkspace Cleanup Step: A workspace cleanup step is a pipeline task that deletes checked-out files and build…
Shallow Checkout Depth - CI/CD Glossary DefinitionShallow Checkout Depth: Shallow checkout depth is the number of recent commits fetched during a CI checkout,…