brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
github-actions-statusView and monitor GitHub Actions workflow runs, statuses, and logs using the gh CLI. Lists workflows, inspects run details, follows logs, checks commit statuses, and triggers new runs.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: github-actions-status compatibility: opencode completeness: 95 content-types:
View, monitor, and manage GitHub Actions workflows and their run statuses using the gh CLI.
gh CLI must be installed and authenticated with a GitHub account that has access to the target repository.gh auth status — if not logged in, run gh auth login.--repo <owner>/<repo> flag is used on all commands to target a specific repository.Determine the target repository in owner/repo format. If working in a local git repo, you can extract it with:
git remote get-url origin | sed -E 's|.*:(.+)/(.+)\.git|\1/\2|'
See every workflow file and its last run status:
gh workflow list --repo <owner>/<repo>
This shows each workflow name, ID, state (active/disabled), and the time of its last run.
View the most recent runs across all workflows:
gh run list --repo <owner>/<repo> --limit 20
Use --status to filter by state (pending, in_progress, completed, cancelled, failed, skipped, success, neutral, timed_out, action_required):
gh run list --repo <owner>/<repo> --status failed --limit 10
gh run list --repo <owner>/<repo> --status in_progress --limit 10
View detailed information about a single run:
gh run view <run-id> --repo <owner>/<repo>
This shows the workflow name, status, conclusion, duration, trigger, branch, commit message, and a summary of each job.
For debugging a failed run, fetch the full logs:
gh run view <run-id> --repo <owner>/<repo> --log --job <job-id>
If no --job is specified, all job logs are shown. To list jobs within a run:
gh run view <run-id> --repo <owner>/<repo> --jobs
Watch a run's progress until it completes (useful for long-running pipelines):
gh run watch <run-id> --repo <owner>/<repo>
This polls the run status and prints updates. It exits with a non-zero code if the run fails.
Query check runs for a specific commit via the GitHub API:
gh api repos/<owner>/<repo>/commits/<sha>/check-runs
This returns check suites and individual check runs, including their conclusions and detailed output.
Manually trigger a workflow:
gh workflow run <workflow-name> --repo <owner>/<repo> --ref <branch-or-tag>
The --ref flag specifies which branch/tag to run against (defaults to the default branch).