[GH-ISSUE #336] Support for "defaults" job statement #237

Closed
opened 2026-03-01 21:41:41 +03:00 by kerem · 2 comments
Owner

Originally created by @Ckarles on GitHub (Aug 16, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/336

It seems that defaults are not supported at the job level.
The folling is changing the working-directory for all subsequent tasks:

    defaults:
      run:
        working-directory: app

https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_iddefaults

Originally created by @Ckarles on GitHub (Aug 16, 2020). Original GitHub issue: https://github.com/nektos/act/issues/336 It seems that `defaults` are not supported at the job level. The folling is changing the working-directory for all subsequent tasks: ```yaml defaults: run: working-directory: app ``` https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_iddefaults
kerem 2026-03-01 21:41:41 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@cdb commented on GitHub (Sep 1, 2020):

Looks like this was fixed in https://github.com/nektos/act/pull/343

<!-- gh-comment-id:684119460 --> @cdb commented on GitHub (Sep 1, 2020): Looks like this was fixed in https://github.com/nektos/act/pull/343
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:720006086 --> @github-actions[bot] commented on GitHub (Nov 1, 2020): Issue is stale and will be closed in 7 days unless there is new activity
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#237
No description provided.