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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-create-a-composite-action-creating-github-docs-workflow-guide.md | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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
- 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/tutorials/create-actions/create-a-composite-action
