Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Using pre-written building blocks in your workflow - GitHub Docs

Explains how to locate, select, and modify existing GitHub Actions to incorporate them into custom workflows.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Using pre-written building blocks in your workflow - GitHub Docs

Explains how to locate, select, and modify existing GitHub Actions to incorporate them into custom workflows.

When To Use

Use when you need to integrate existing GitHub Actions into a workflow and require instructions on how to configure or modify their specific inputs and parameters.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-workflow-guide.mdA guide on how to browse, select, and add pre-written actions from the GitHub Marketplace to a workflow.Questions about a guide on how to browse, select, and add pre-written actions from the GitHub Marketplace to a workflow.
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you.textA text representation of the directory structure for a repository containing a GitHub Actions workflow and a custom local action.Exact payloads, commands, or snippets shown in A text representation of the directory structure for a repository containing a GitHub Actions workflow and a custom l...
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-2.textA YAML workflow example demonstrating how to use both marketplace actions and locally defined actions within a GitHub Actions job.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use both marketplace actions and locally defined actions within a GitHub...
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-3.textA YAML workflow example demonstrating how to use pre-written actions like actions/setup-node within a job step.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use pre-written actions like actions/setup-node within a job step.
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-4.textA YAML workflow snippet demonstrating how to use a Docker container image as a step in a GitHub Actions job.Exact payloads, commands, or snippets shown in A YAML workflow snippet demonstrating how to use a Docker container image as a step in a GitHub Actions job.
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-5.textA YAML workflow snippet demonstrating how to use a pre-written action within a workflow step using the uses keyword.Exact payloads, commands, or snippets shown in A YAML workflow snippet demonstrating how to use a pre-written action within a workflow step using the uses keyword.
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-6.textA YAML workflow example demonstrating how to use pre-written actions within a GitHub Actions workflow step.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use pre-written actions within a GitHub Actions workflow step.
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-7.textA YAML workflow snippet demonstrating how to use pre-written actions within a steps block.Exact payloads, commands, or snippets shown in A YAML workflow snippet demonstrating how to use pre-written actions within a steps block.
examples/actions-how-tos-write-workflows-using-pre-written-building-blocks-in-you-8.textA YAML workflow example demonstrating how to define inputs and outputs for a custom GitHub Action.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to define inputs and outputs for a custom GitHub Action.

What This Skill Covers

    • GitHub Actions / - How-tos / - Write workflows / - Choose what workflows do / - Find and customize actions
  • Main sections: In this article, Browsing Marketplace actions in the workflow editor, Adding an action to your workflow, Adding an action from GitHub Marketplace, Adding an action from the same repository.

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/find-and-customize-actions