Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Create Actions Creating a composite action - GitHub Docs

Teaches how to bundle multiple workflow steps into a single reusable action using the composite action syntax in GitHub Actions.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Create Actions Creating a composite action - GitHub Docs

Teaches how to bundle multiple workflow steps into a single reusable action using the composite action syntax in GitHub Actions.

When To Use

Use when you need to combine multiple shell commands or existing actions into a single, reusable unit to reduce duplication in your workflows.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-create-a-composite-action-creating-github-docs-workflow-guide.mdA tutorial guide explaining the steps and concepts required to build a composite action within GitHub Actions.Questions about a tutorial guide explaining the steps and concepts required to build a composite action within GitHub Actions.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co.textA text representation of the steps and directory structure required to create a composite GitHub Action.Exact payloads, commands, or snippets shown in A text representation of the steps and directory structure required to create a composite GitHub Action.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-2.textA text representation of a shell command used to create a script file within a GitHub composite action tutorial.Exact payloads, commands, or snippets shown in A text representation of a shell command used to create a script file within a GitHub composite action tutorial.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-3.textA shell script command used to make a script executable as part of a composite action workflow.Exact payloads, commands, or snippets shown in A shell script command used to make a script executable as part of a composite action workflow.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-4.textA text-based guide and command sequence demonstrating how to create a composite action within GitHub Actions.Exact payloads, commands, or snippets shown in A text-based guide and command sequence demonstrating how to create a composite action within GitHub Actions.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-5.textA sequence of git commands used to prepare and commit files for a composite action tutorial.Exact payloads, commands, or snippets shown in A sequence of git commands used to prepare and commit files for a composite action tutorial.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-6.textA text-based walkthrough of the steps and commands required to create a composite GitHub Action.Exact payloads, commands, or snippets shown in A text-based walkthrough of the steps and commands required to create a composite GitHub Action.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-7.textA YAML-formatted example of a composite GitHub Action definition including inputs, outputs, and steps.Exact payloads, commands, or snippets shown in A YAML-formatted example of a composite GitHub Action definition including inputs, outputs, and steps.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-8.textA sequence of git commands used to add, commit, and push the action.yml file for a new composite action.Exact payloads, commands, or snippets shown in A sequence of git commands used to add, commit, and push the action.yml file for a new composite action.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-9.textA sequence of git commands used to tag and push a release as part of the composite action creation tutorial.Exact payloads, commands, or snippets shown in A sequence of git commands used to tag and push a release as part of the composite action creation tutorial.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-10.textA YAML workflow file demonstrating how to call a composite action within a GitHub Actions job.Exact payloads, commands, or snippets shown in A YAML workflow file demonstrating how to call a composite action within a GitHub Actions job.
examples/actions-create-a-composite-action-creating-github-docs-github-actions-co-11.textA GitHub Actions workflow YAML file demonstrating how to call a custom composite action within a job.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML file demonstrating how to call a custom composite action within a job.

What This Skill Covers

    • GitHub Actions / - Tutorials / - Create actions / - Create a composite action
  • Main sections: Platform navigation, In this article, Introduction, Composite actions and reusable workflows, Prerequisites.

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/tutorials/create-actions/create-a-composite-action