{"name":"RUNNER_ENVIRONMENT","slug":"runner-environment","family":"env","title":"Environment variables","noun":"environment variable","description":"CLAUDE_CODE_SUBAGENT_MODEL_FORCE joins a list of passed-on env vars, and RUNNER_ENVIRONMENT is added next to GITHUB_ACTIONS","description_source":"entry","described_by":{"version":"2.1.281","anchor":"claude-code-subagent-model-force-added-to-a-propagated-env-l"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.281","released_at":"2026-09-23 17:01:17","spans":1}},"aliases":[],"entries":[{"version":"2.1.281","anchor":"claude-code-subagent-model-force-added-to-a-propagated-env-l","heading":"CLAUDE_CODE_SUBAGENT_MODEL_FORCE added to a propagated env list","line":"CLAUDE_CODE_SUBAGENT_MODEL_FORCE joins a list of passed-on env vars, and RUNNER_ENVIRONMENT is added next to GITHUB_ACTIONS","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"self-hosted-environments-configuration","title":"Customize sessions in self-hosted environments","documented":false},{"source":"claude-code","path":"self-hosted-environments-reference","title":"Self-hosted environments reference","documented":false},{"source":"claude-code","path":"self-hosted-environments-testing","title":"Test self-hosted environments end to end","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"RUNNER_OS","slug":"runner-os","description":"When `GITHUB_ACTIONS` is truthy, the value of `RUNNER_OS` is recorded as `githubActionsRunnerOs` in the `envContext` metadata built for Claude Code's events. It is also read into the `runnerOs` field of a separate environment-facts object."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/runner-environment","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}