Skip to content

Commit cf6742a

Browse files
justin808claude
andcommitted
Document --previous flag in ci-rerun-failures
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3b2e0a9 commit cf6742a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,18 @@ Pre-commit hooks automatically run:
5757
# Automatically detects and re-runs only the failed CI jobs
5858
bin/ci-rerun-failures
5959

60+
# Search recent commits for failures (when current commit is clean/in-progress)
61+
bin/ci-rerun-failures --previous
62+
6063
# Or for a specific PR number
6164
bin/ci-rerun-failures 1964
6265
```
6366

6467
This script:
6568
-**Fetches actual CI failures** from GitHub using `gh` CLI
6669
- 🎯 **Runs only what failed** - no wasted time on passing tests
70+
-**Waits for in-progress CI** - offers to poll until completion
71+
- 🔍 **Searches previous commits** - finds failures before your latest push
6772
- 📋 **Shows you exactly what will run** before executing
6873
- 🚀 **Maps CI jobs to local commands** automatically
6974

0 commit comments

Comments
 (0)