Skip to content

Add directory property to RunShell - #1193

Open
cvgaviao wants to merge 1 commit into
open-workflow-specification:mainfrom
cvgaviao:main
Open

cvgaviao wants to merge 1 commit into
open-workflow-specification:mainfrom
cvgaviao:main

Conversation

@cvgaviao

Copy link
Copy Markdown

Please specify parts of this PR update:

  • Specification
  • Schema
  • Examples
  • Extensions
  • Use Cases
  • Community
  • CTK
  • Other

#1191

What this PR does:
Added property directory to RunShell

Additional information:

Signed-off-by: Cristiano Gavião <cvgaviao@gmail.com>
Copilot AI lite review requested due to automatic review settings September 18, 2026 22:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The change is a small, additive, backwards-compatible schema extension that matches the linked issue’s request.

Review effort: Lite
Findings: None

What changed in this PR

This PR updates the workflow JSON Schema to support specifying a working directory for RunShell, addressing issue #1191 so shell commands can execute with an explicit working directory rather than inheriting the workflow application’s startup directory.

Changes:

  • Adds an optional directory string property to the RunShell.shell configuration object.
  • Documents the new property as the working directory used when running the shell command.
File Description
schema/​workflow.yaml Extends the RunShell schema to allow an optional working-directory (directory) for shell execution.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants