Skip to main content

github-workflows-query

List GitHub Actions workflows with per_page pagination support.

소스 정보

저장소
github/gh-aw
최근 소스 활동
2026년 7월 29일 16:40
감지된 SKILL.md 언어
영어
스타
5,381
포크
584

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
github-workflows-query
description
List GitHub Actions workflows with per_page pagination support.
# 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 ```bash ./query-workflows.sh --owner github --repo gh-aw # Returns 10 workflows (default per_page=10) ``` ### Pagination ```bash # 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: ```json { "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}`
GitHub에서 보기