Use this command when you need to wait for all GitHub checks on a pull-request to complete and then branch into success or failure flows.
| Pos | Name | Example | Purpose |
|---|---|---|---|
| 1 | pr_id |
123 |
Pull-request number to monitor |
| 2 | interval |
15 |
(optional, default 15 s) seconds between status polls |
| 3 | timeout |
600 |
(optional, default 600 s) maximum wait in seconds |
| Name | Example | Purpose |
|---|---|---|
OWNER |
YOUR ORG |
Repository owner (auto-detected from current repo if unset) |
REPO |
YOUR REPO |
Repository name (auto-detected from current repo if unset) |
- Run polling script
./scripts/poll_ci.sh $ARGUMENTSThe script will automatically detect the repository owner and name from the current directory if not provided via environment variables.
This script can be used with Claude Code CLI