watch-github-actions
Skill này làm gì
Skill này cho phép AI kiểm tra trạng thái các lần chạy workflow GitHub Actions và theo dõi một lần chạy đến khi kết thúc. Skill dành cho ai muốn biết một lần build hoặc test đã đạt hay chưa.
Khi nào nên dùng
- ✓Khi bạn muốn biết lần build hoặc test mới nhất trên nhánh của mình có đạt không.
- ✓Khi các kiểm tra của một pull request đang chạy và bạn muốn theo dõi đến khi xong.
- ✓Khi một workflow bị lỗi và bạn muốn đọc log của job bị lỗi.
Liên kết skill
https://github.com/NVIDIA/OpenShell/blob/main/.agents/skills/watch-github-actions/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra xem các bài test trên nhánh của tôi có đạt không, và nếu lỗi thì cho tôi xem log.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI dùng công cụ gh để liệt kê các lần chạy gần đây, theo dõi một lần chạy, hoặc xem chi tiết job và log của một nhánh hay pull request.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Watch GitHub Actions
Monitor GitHub Actions workflow runs using the gh CLI.
Prerequisites
- The
ghCLI must be authenticated (gh auth status) - You must be in a git repository with a GitHub remote
Quick Status Check
List recent workflow runs for the current branch:
gh run list --branch "$(git branch --show-current)"
List all recent runs:
gh run list
Watch a Run in Real Time
Watch a workflow run until it completes:
gh run watch
Watch a specific run:
gh run watch <run-id>
This will continuously update the status until the run finishes (success, failure, or cancelled).
View Run Details
View a specific run with job details:
gh run view <run-id>
View with full log output:
gh run view <run-id> --log
View a failed job's log:
gh run view <run-id> --log-failed
Check Runs for a Specific Branch
Current branch:
gh run list --branch "$(git branch --show-current)"
Specific branch:
gh run list --branch main
gh run list --branch feature-branch
Check Runs for a PR
List workflow runs associated with a PR:
# Get the head branch of the PR, then list runs
BRANCH=$(gh pr view <pr-number> --json headRefName --jq '.headRefName')
gh run list --branch "$BRANCH"
Or view the checks directly on the PR:
gh pr checks <pr-number>
List Recent Runs
List runs for the current project:
gh run list
Filter by status:
gh run list --status failure
gh run list --status success
gh run list --status in_progress
Filter by workflow:
gh run list --workflow "CI"
JSON output for scripting:
gh run list --json databaseId,status,headBranch,url --jq '.[] | {id: .databaseId, status: .status, branch: .headBranch, url: .url}'
View Job Logs
For tmachine Kubernetes conformance failures, inspect the e2e-results-conformance-sandbox-ubuntu-k3s-* artifact. Its diagnostics/ holds the K3s report with Agent Sandbox controller state, leader leases, events, and current and previous controller logs. The k3s installers check reconciliation after guest boot with a temporary scheduling-gated Sandbox probe, so a failed probe fails provisioning before any test runs. Distinguish a failed controller probe from a failed conformance scenario; gateway connectivity and controller Deployment availability do not prove reconciliation works.
For the e2e-suites lane (.github/workflows/e2e-suites.yml), the last lines of the job log give the runner's result: PASS, FAIL (exit 1) after the end of the nextest log (which names the failed tests), or ERROR (exit 2) with the step that broke. FAIL and ERROR also appear as annotations on the run's summary page. Then inspect the e2e-results-<family>-<package>-<environment>-<installer> artifact, which holds junit.xml, nextest.log and, after a failure, the guest's diagnostics/.
Pre-release temporarily omits Codex Security from its Security Scan job.
Release uses the passing prerelease qualification result. Other scanners and
qualification gates still run. Use the standalone
Codex Security Release Qualification workflow for manual investigation.
For Codex Security, an exit code of 2 with partial coverage is an incomplete
scan, not a HIGH/CRITICAL threshold failure. Check the execution diagnostics in
the job summary and the codex-security-diagnostics-<run>-<attempt> artifact on
scan failure. It contains fixed status values, aggregate coverage counts, and
disk space before, after, and the minimum sampled every five seconds. Missing
coverage or manifest documents indicate no readable final report was available;
deferred items or surfaces needing follow-up can explain partial coverage.
Sampling cannot rule out a disk spike between samples.
Artifacts and logs in this public repository are public. Never upload the raw
scan directory, report.md, coverage.json, findings, agent state, or scanner
logs. Coverage reasons and notes are free text and may disclose vulnerabilities.
The public diagnostic intentionally omits them; detailed review needs an
approved private destination. Helpers must come from the workflow revision,
not from the candidate under scan.
setup-nix retries development-shell preparation once when prepare-shell
is enabled. Inspect both attempts in the job log; setup-rust assumes the
shell has already been prepared. Cargo, lint, and test commands are not retried.
Dire
Câu hỏi thường gặp
Tôi có cần thiết lập gì không?
Bạn cần công cụ gh đã đăng nhập GitHub và một thư mục đã liên kết với repository GitHub.
AI có thể theo dõi một lần chạy mà tôi không cần quay lại kiểm tra không?
Có. AI có thể theo dõi một lần chạy theo thời gian thực cho đến khi thành công, thất bại hoặc bị hủy.
AI có kiểm tra các lần chạy của pull request không?
Có. AI tìm nhánh của pull request và liệt kê các lần chạy của nhánh đó.
Chi tiết
Mô tả gốc của tác giả
Watch and monitor GitHub Actions workflow runs using the gh CLI. Use when the user wants to check workflow status, watch a running workflow, view CI/CD jobs, or monitor build progress. Trigger keywords - watch pipeline, pipeline status, CI status, check build, monitor CI, view pipeline, pipeline progress, workflow status, actions status.
repo: NVIDIA/OpenShell
Độ phổ biến
- Sao GitHub
- 21k
- Vị trí xếp hạng
- #10363
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
create-github-issue
21kGiúp agent của bạn tạo issue GitHub cho lỗi, yêu cầu tính năng hoặc tác vụ, bằng công cụ dòng lệnh gh và mẫu của dự án.
create-github-pr
21kCho phép agent của bạn mở pull request trên GitHub cho nhánh của bạn bằng công cụ gh, sau khi kiểm tra công việc đã sẵn sàng để xem xét.
review-github-pr
21kHướng dẫn agent của bạn đọc pull request trên GitHub và giải thích các thay đổi, lựa chọn thiết kế chính và đoạn mã đáng chú ý bằng ngôn ngữ dễ hiểu.
openshell-policy-advisor
21kGiúp agent của bạn phục hồi khi sandbox chặn một yêu cầu mạng, bằng cách xin một quyền hẹp và thử lại sau khi được phê duyệt.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.