github-workflows-query
List GitHub Actions workflows with per_page pagination support.
- License 许可
- MIT
- 所属仓库
- github/gh-aw
- 最近更新
- 2026-11-15
- Stars
- ★ 5.6k
- Forks
- 626
01 前言 Front Matter
- name
- github-workflows-query
- description
- List GitHub Actions workflows with per_page pagination support.
02 资源文件 4
- 参考文档agents/openai.yaml249 B
- 资产文件assets/session-template.md564 B
- 脚本query-workflows.sh2.4 KB
- 参考文档references/original-workflow.md2.4 KB
03 SKILL.md 正文
GitHub Workflows Query Skill
List GitHub Actions workflows with efficient pagination using the --per-page flag.
Usage
Use this script to list workflows from any repository with controlled page sizes.
Basic Usage
./query-workflows.sh --owner github --repo gh-aw
# Returns 10 workflows (default per_page=10)
Pagination
# Get the first workflow only
./query-workflows.sh --owner github --repo gh-aw --per-page 1
# Get 50 workflows starting from page 2
./query-workflows.sh --owner github --repo gh-aw --per-page 50 --page 2
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
--owner |
Yes | - | Repository owner (username or organization) |
--repo |
Yes | - | Repository name |
--per-page |
No | 10 | Results per page (1–100) |
--page |
No | 1 | Page number |
Output
Returns JSON with the following fields:
{
"total_count": 42,
"per_page": 10,
"page": 1,
"workflows": [
{
"id": 12345,
"node_id": "W_...",
"name": "CI",
"path": ".github/workflows/ci.yml",
"state": "active",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"url": "https://api.github.com/repos/owner/repo/actions/workflows/12345",
"html_url": "https://github.com/owner/repo/actions/workflows/ci.yml",
"badge_url": "https://github.com/owner/repo/actions/workflows/ci.yml/badge.svg"
}
]
}
Source
Calls the GitHub REST API:
GET /repos/{owner}/{repo}/actions/workflows?per_page={n}&page={n}
04 同仓库更多 Skills
cracktro
Edit, preview, and verify the standalone interactive talk deck in docs/public/cracktro (slides, SVG diagrams, transitions, WebAudio sound).
create-connector
Create or extend a declaration-only third-party connector, with narrow reads, separate safe outputs, optional protected triggers, and offline conformance evidence.
GitHub Agentic Workflows
GitHub Agentic Workflows (`gh-aw`) is a GitHub CLI extension for writing Agentic Workflows in markdown and compiling them to GitHub Actions.
windows-compatibility
Cross-platform path handling and command patterns
versioning-policy
Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents
tiered-memory
Three-tier agent memory model (hot/cold/wiki) for context reduction per spawn