[GH-ISSUE #1620] Add default workdir folder to yaml file #808

Closed
opened 2026-03-01 21:46:34 +03:00 by kerem · 0 comments
Owner

Originally created by @uvulpos on GitHub (Feb 8, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1620

Act version

act version 0.2.42

Feature description

Hey there,
found a useful statement to switch the default workdir for all steps that seems to work on gh actions, but not on act. Maybe if there is some time, this would be a cool feature when you work in a mono repo :)

missunderstood the feature, sorry

Documentation: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-set-the-default-shell-and-working-directory

Example: https://stackoverflow.com/a/63122434

Originally created by @uvulpos on GitHub (Feb 8, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1620 ### Act version act version 0.2.42 ### Feature description Hey there, found a useful statement to switch the default workdir for all steps that seems to work on gh actions, but not on act. Maybe if there is some time, this would be a cool feature when you work in a mono repo :) missunderstood the feature, sorry Documentation: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-set-the-default-shell-and-working-directory Example: https://stackoverflow.com/a/63122434
kerem 2026-03-01 21:46:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#808
No description provided.