home / skills / dtinth / agent-skills / wait-for-ci
This skill waits for GitHub Actions checks on the current pull request, providing live updates and a final summary.
npx playbooks add skill dtinth/agent-skills --skill wait-for-ciReview the files below or copy the command above to add this skill to your agents.
---
name: wait-for-ci
description: Use this skill to wait for checks on GitHub Actions to finish on the current pull request
---
Make sure there is an active pull request for the current branch, then run this command in the project directory (not the skill base directory):
```
mise exec deno -- deno run --allow-run=gh --allow-env https://github.com/dtinth/wait-for-ci/raw/main/wait-for-ci.ts
```
This command:
- Monitors a GitHub pull request's status checks.
- Periodically polls and prints status updates and any changes.
- When all checks are finished, prints a summary of results, and exits.
This skill waits for GitHub Actions checks to finish on the current pull request from the project directory. It runs a small Deno script that polls the PR status, prints live updates, and exits with a summary once all checks complete. Use it to avoid manually refreshing GitHub while CI runs.
The skill runs a Deno program that queries the GitHub API (via the gh CLI) for the active pull request linked to the current branch. It periodically polls workflow and check-run statuses, printing progress and any status changes as they occur. When every check-run reaches a terminal state, it prints a concise summary of results and exits.
What command do I run to use this skill?
Run the provided Deno command from your project directory. It downloads and runs the wait-for-ci.ts script and requires gh CLI access.
What permissions or tools are required?
You need Deno to run the script and the GitHub CLI (gh) authenticated for API access. The command requests allow-run for gh and allow-env for environment variables.