github · GitHub Actions Docs
Actions Adding scripts to your workflow - GitHub Docs
Teaches how to execute shell scripts and command-line instructions within a GitHub Actions workflow step.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Adding scripts to your workflow - GitHub Docs
Teaches how to execute shell scripts and command-line instructions within a GitHub Actions workflow step.
When To Use
Use when you need to execute custom shell commands, run local scripts, or integrate command-line tools directly into a GitHub Actions job step.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-write-workflows-adding-scripts-to-your-workflow-github-d-workflow-guide.md | A guide explaining how to use GitHub Actions workflows to execute various types of scripts. | Questions about a guide explaining how to use GitHub Actions workflows to execute various types of scripts. |
examples/actions-how-tos-write-workflows-adding-scripts-to-your-workflow-github-d.text | A YAML workflow example demonstrating how to use the run keyword to execute shell commands within a GitHub Actions job. | Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use the run keyword to execute shell commands within a GitHub Actions job. |
examples/actions-how-tos-write-workflows-adding-scripts-to-your-workflow-github-d-2.text | A YAML workflow configuration demonstrating how to use the working-directory default and run shell scripts within a GitHub Actions job. | Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to use the working-directory default and run shell scripts within a G... |
examples/actions-how-tos-write-workflows-adding-scripts-to-your-workflow-github-d-3.text | A GitHub Actions workflow YAML configuration demonstrating how to set a default working directory and execute shell scripts within a job. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to set a default working directory and execute shell s... |
What This Skill Covers
-
- GitHub Actions / - How-tos / - Write workflows / - Choose what workflows do / - Add scripts
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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/add-scripts
