Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

How Tos Creating a third party CLI action - GitHub Docs

Teaches how to package a command-line interface tool as a GitHub Action by configuring a Docker container and defining the entry point.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

How Tos Creating a third party CLI action - GitHub Docs

Teaches how to package a command-line interface tool as a GitHub Action by configuring a Docker container and defining the entry point.

When To Use

Use when you need to wrap an existing command-line tool into a reusable GitHub Action for use in CI/CD workflows.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-create-and-publish-creating-a-third-party-cli-action-git-workflow-guide.mdA guide explaining how to develop and publish a GitHub Action that sets up a command-line interface on GitHub Actions runners.Questions about a guide explaining how to develop and publish a GitHub Action that sets up a command-line interface on GitHub Actions...
examples/actions-how-tos-create-and-publish-creating-a-third-party-cli-action-git.textA JavaScript implementation demonstrating how to download, extract, and set up a third-party CLI tool within a GitHub Action using the tool-cache library.Exact payloads, commands, or snippets shown in A JavaScript implementation demonstrating how to download, extract, and set up a third-party CLI tool within a GitHub...

What This Skill Covers

    • GitHub Actions / - How-tos / - Create and publish actions / - Create a CLI action
  • Main sections: In this article, Introduction, Prerequisites, Example, Further reading.

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/create-and-publish-actions/create-a-cli-action