Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Setting a default shell and working directory - GitHub Docs

Configures default shell environments and working directories at the job level within GitHub Actions workflows to standardize execution environments.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Setting a default shell and working directory - GitHub Docs

Configures default shell environments and working directories at the job level within GitHub Actions workflows to standardize execution environments.

When To Use

Use when you need to standardize the shell type or the file system path used by all steps within a specific GitHub Actions job.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-write-workflows-setting-a-default-shell-and-working-dire-workflow-guide.mdA markdown guide explaining how to configure default shell and working directory settings for GitHub Actions jobs.Questions about a markdown guide explaining how to configure default shell and working directory settings for GitHub Actions jobs.
examples/actions-how-tos-write-workflows-setting-a-default-shell-and-working-dire.textA YAML workflow configuration demonstrating how to set default shell and working directory values for jobs in GitHub Actions.Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to set default shell and working directory values for jobs in GitHub...
examples/actions-how-tos-write-workflows-setting-a-default-shell-and-working-dire-2.textA YAML workflow configuration demonstrating how to set default shell and working directory values for jobs in GitHub Actions.Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to set default shell and working directory values for jobs in GitHub...

What This Skill Covers

    • GitHub Actions / - How-tos / - Write workflows / - Choose what workflows do / - Set default values for jobs
  • Main sections: In this article, Overview, Setting default shell and working directory, Example: Set the default shell and working directory, Setting default values for a specific job.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/set-default-values-for-jobs