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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-write-workflows-using-github-cli-in-docs-workflow-guide.md | A 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-.text | A 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.text | A 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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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
