Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-write-workflows-adding-scripts-to-your-workflow-github-d-workflow-guide.mdA 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.textA 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.textA 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.textA 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

  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/add-scripts