Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Creating an example workflow - GitHub Docs

A tutorial that guides users through the step-by-step process of creating, configuring, and running a basic GitHub Actions workflow file.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Creating an example workflow - GitHub Docs

A tutorial that guides users through the step-by-step process of creating, configuring, and running a basic GitHub Actions workflow file.

When To Use

Use when you need to implement a new GitHub Actions workflow from scratch or understand the basic structure of a YAML workflow file.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-create-an-workflow-creating-github-docs-workflow-guide.mdA tutorial guide for creating a basic GitHub Actions workflow triggered by a push event.Questions about a tutorial guide for creating a basic GitHub Actions workflow triggered by a push event.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow-.textA YAML workflow file named learn-github-actions that installs Node.js and runs bats version checks on ubuntu-latest.Exact payloads, commands, or snippets shown in A YAML workflow file named learn-github-actions that installs Node.js and runs bats version checks on ubuntu-latest.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--2.textA YAML configuration file demonstrating a basic GitHub Actions workflow named learn-github-actions.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating a basic GitHub Actions workflow named learn-github-actions.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--3.textA YAML configuration file demonstrating a basic GitHub Actions workflow structure with a custom run name.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating a basic GitHub Actions workflow structure with a custom run name.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--4.textA YAML configuration file demonstrating a basic GitHub Actions workflow triggered by a push event.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating a basic GitHub Actions workflow triggered by a push event.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--5.textA sample YAML configuration file demonstrating the structure of a GitHub Actions workflow.Exact payloads, commands, or snippets shown in A sample YAML configuration file demonstrating the structure of a GitHub Actions workflow.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--6.textA YAML configuration file demonstrating a basic GitHub Actions workflow structure.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating a basic GitHub Actions workflow structure.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--7.textA YAML configuration file demonstrating a basic GitHub Actions workflow structure.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating a basic GitHub Actions workflow structure.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--8.textA YAML configuration file demonstrating the structure of a basic GitHub Actions workflow.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating the structure of a basic GitHub Actions workflow.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--9.textA sample YAML workflow file demonstrating how to create and configure a basic GitHub Actions workflow.Exact payloads, commands, or snippets shown in A sample YAML workflow file demonstrating how to create and configure a basic GitHub Actions workflow.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--10.textA sample YAML workflow file demonstrating how to create and configure a GitHub Actions workflow.Exact payloads, commands, or snippets shown in A sample YAML workflow file demonstrating how to create and configure a GitHub Actions workflow.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--11.textA YAML configuration file demonstrating how to create and structure a basic GitHub Actions workflow.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating how to create and structure a basic GitHub Actions workflow.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--12.textA YAML configuration file demonstrating a basic GitHub Actions workflow structure.Exact payloads, commands, or snippets shown in A YAML configuration file demonstrating a basic GitHub Actions workflow structure.
examples/actions-create-an-workflow-creating-github-docs-github-actions-workflow--13.textA sample YAML configuration file demonstrating the structure and syntax for creating a GitHub Actions workflow.Exact payloads, commands, or snippets shown in A sample YAML configuration file demonstrating the structure and syntax for creating a GitHub Actions workflow.

What This Skill Covers

    • GitHub Actions / - Tutorials / - Create an example workflow
  • Main sections: In this article, Introduction, Creating an example workflow, Understanding the workflow file, Visualizing the workflow file.

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-an-example-workflow