Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Contexts - GitHub Docs

Explains the various context objects available in GitHub Actions, including how they provide information about the workflow run, the runner environment, the job, the step, and the actor.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Contexts - GitHub Docs

Explains the various context objects available in GitHub Actions, including how they provide information about the workflow run, the runner environment, the job, the step, and the actor.

When To Use

Use when you need to access dynamic metadata such as the triggering event, environment variables, or job status within a GitHub Actions workflow expression.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-workflows-and-contexts-github-docs-workflow-guide.mdA markdown document explaining the concept and usage of contexts within GitHub Actions workflows.Questions about a markdown document explaining the concept and usage of contexts within GitHub Actions workflows.
examples/actions-workflows-and-contexts-github-docs-github-actions-contexts-workf.textA YAML workflow example demonstrating the usage of GitHub Actions context variables like github.ref and GITHUBREF.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating the usage of GitHub Actions context variables like github.ref and GITHUBREF.

What This Skill Covers

    • GitHub Actions / - Concepts / - Workflows and actions / - Contexts
  • Main sections: In this article, About contexts, Determining when to use contexts.

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/contexts