From a8cae36ce52a925a8a5c264be92f560dacd90e34 Mon Sep 17 00:00:00 2001 From: kburym <57193032+kburym@users.noreply.github.com> Date: Tue, 13 Oct 2026 22:45:12 +0200 Subject: [PATCH] Clarify that steps[*].working-directory applies only to run steps --- .../actions/reference/workflows-and-actions/workflow-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/reference/workflows-and-actions/workflow-syntax.md b/content/actions/reference/workflows-and-actions/workflow-syntax.md index 0953709ba987..b16459d9eb7a 100644 --- a/content/actions/reference/workflows-and-actions/workflow-syntax.md +++ b/content/actions/reference/workflows-and-actions/workflow-syntax.md @@ -872,7 +872,7 @@ Each `run` keyword represents a new process and shell in the runner environment. ## `jobs..steps[*].working-directory` -Using the `working-directory` keyword, you can specify the working directory of where to run the command. +Using the `working-directory` keyword, you can specify the working directory of where to run the command. This keyword applies only to steps that use `run`. It is not valid on steps that use `uses`, including steps that run a composite action. ```yaml - name: Clean temp directory