Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Expressions - GitHub Docs

Explains the syntax and available functions for using expressions to evaluate data within GitHub Actions workflows, including context access, logical operators, and function usage.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Expressions - GitHub Docs

Explains the syntax and available functions for using expressions to evaluate data within GitHub Actions workflows, including context access, logical operators, and function usage.

When To Use

Use when you need to write conditional logic, manipulate strings, or access context data within a GitHub Actions workflow file.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-workflows-and-expressions-github-docs-workflow-guide.mdA guide explaining how to evaluate expressions within GitHub Actions workflows and actions.Questions about a guide explaining how to evaluate expressions within GitHub Actions workflows and actions.
examples/actions-workflows-and-expressions-github-docs-github-actions-expressions.textA collection of text-based examples demonstrating various GitHub Actions expression syntaxes and usage patterns.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions expression syntaxes and usage patterns.

What This Skill Covers

    • GitHub Actions / - Concepts / - Workflows and actions / - Expressions
  • Main sections: In this article, About expressions, Example setting an environment variable, 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/concepts/workflows-and-actions/expressions