diff --git a/models/executor_action.go b/models/executor_action.go
index <HASH>..<HASH> 100644
--- a/models/executor_action.go
+++ b/models/executor_action.go
@@ -92,6 +92,7 @@ func (a UploadAction) Validate() error {
 type RunAction struct {
 	Path           string                `json:"path"`
 	Args           []string              `json:"args"`
+	Dir            string                `json:"dir,omitempty"`
 	Env            []EnvironmentVariable `json:"env"`
 	ResourceLimits ResourceLimits        `json:"resource_limits"`
 	Privileged     bool                  `json:"privileged,omitempty"`
diff --git a/models/executor_action_test.go b/models/executor_action_test.go
index <HASH>..<HASH> 100644
--- a/models/executor_action_test.go
+++ b/models/executor_action_test.go
@@ -154,6 +154,7 @@ var _ = Describe("Actions", func() {
 			`{
 					"path": "rm",
 					"args": ["-rf", "/"],
+					"dir": "./some-dir",
 					"env": [
 						{"name":"FOO", "value":"1"},
 						{"name":"BAR", "value":"2"}
@@ -163,6 +164,7 @@ var _ = Describe("Actions", func() {
 			}`,
 			&RunAction{
 				Path: "rm",
+				Dir:  "./some-dir",
 				Args: []string{"-rf", "/"},
 				Env: []EnvironmentVariable{
 					{"FOO", "1"},
add Dir to RunAction for working directory

[#<I>]