gh-workflow

Manage GitHub Actions workflows and runs via the gh CLI.

4|1|Updated Nov 9, 2023
One-click install
npx skills add https://github.com/sh1ma/blog --skill gh-workflow-sh1ma
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-workflow
Source: https://github.com/sh1ma/blog/tree/main/.claude/skills/gh-workflow
Command: npx skills add https://github.com/sh1ma/blog --skill gh-workflow-sh1ma

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub Actionsのワークフローと実行履歴を、1つのリポジトリ内で統合的に管理するソリューションを提供します。

Core Features & Use Cases

  • ワークフロー一覧の取得: gh workflow list でリポジトリの全ワークフローを表示します。
  • ワークフロー表示・監視: gh workflow view と gh run view で実行状況とログを確認できます。
  • 実行と再実行: gh workflow run でデプロイ用ワークフローなどを実行し、必要に応じて再実行します。

Quick Start

List all workflows with gh workflow list and run a chosen workflow using the GitHub CLI.

Frequently Asked Questions about gh-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list and run GitHub Actions workflows from the CLI?

You can list and run GitHub Actions workflows from the CLI by using the gh CLI to execute commands like `gh workflow list` to view all workflows and `gh workflow run` to trigger a specific CI/CD process.

Can I view GitHub Actions run logs directly in my terminal?

Yes, you can view GitHub Actions run logs directly in your terminal by using the `gh run view` command, which allows you to inspect execution statuses and detailed logs for CI/CD processes without leaving the CLI.

Do I need GitHub CLI authentication to manage GitHub Actions workflows?

Yes, you need GitHub CLI authentication to manage GitHub Actions workflows. The system requires the gh CLI to be installed and properly authenticated to operate on GH Actions and access run history.

What is the best way to manage CI/CD processes for a single repository?

The best way to manage CI/CD processes for a single repository is using gh CLI commands to list, view, enable, disable, and re-run workflows, enabling hands-on control of workflows and run history in one project context.

How do I re-run a failed GitHub Actions workflow from the command line?

You re-run a failed GitHub Actions workflow from the command line by using the gh CLI to trigger the specific workflow again, allowing you to manage deployments and re-execute necessary CI/CD processes directly.