Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Using GitHub CLI in workflows - GitHub Docs

Explains how to integrate and execute GitHub CLI commands within GitHub Actions workflows to interact with GitHub resources.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Using GitHub CLI in workflows - GitHub Docs

Explains how to integrate and execute GitHub CLI commands within GitHub Actions workflows to interact with GitHub resources.

When To Use

Use when you need to perform GitHub-specific administrative or repository management tasks, such as managing issues, pull requests, or repository settings, directly from within a CI/CD pipeline step.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-write-workflows-using-github-cli-in-docs-workflow-guide.mdA guide explaining how to use the GitHub CLI within GitHub Actions workflows to perform various scripted operations.Questions about a guide explaining how to use the GitHub CLI within GitHub Actions workflows to perform various scripted operations.
examples/actions-how-tos-write-workflows-using-github-cli-in-docs-github-actions-.textA GitHub Actions workflow YAML configuration that uses the GitHub CLI to automatically post a comment on a newly opened issue.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration that uses the GitHub CLI to automatically post a comment on a newly open...
examples/actions-how-tos-write-workflows-using-github-cli-in-docs-github-actions--2.textA GitHub Actions workflow YAML configuration that uses the GitHub CLI to query the GraphQL API and report the number of remaining open issues on a schedule.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration that uses the GitHub CLI to query the GraphQL API and report the number...

What This Skill Covers

    • GitHub Actions / - How-tos / - Write workflows / - Choose what workflows do / - Use GitHub CLI

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/write-workflows/choose-what-workflows-do/use-github-cli