Skip to content

Commit eba6895

Browse files
committed
feat(tooling): auto-assign reviewers to PRs based on custom ranking
1 parent 3975d16 commit eba6895

4 files changed

Lines changed: 636 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Reassign Reviewer
2+
3+
Reassign a fresh reviewer to the current PR after fixes have been pushed. Only the PR author should invoke this skill.
4+
5+
## Steps
6+
7+
1. Determine the current PR number. If not provided as an argument, detect it from the current branch:
8+
```bash
9+
gh pr view --json number --jq .number
10+
```
11+
12+
2. Run the reviewer assignment script in rereview mode:
13+
```bash
14+
uv run .github/scripts/assign_reviewer.py \
15+
--repo ethereum/execution-specs \
16+
--pr <PR_NUMBER> \
17+
--mode rereview \
18+
--assign
19+
```
20+
21+
3. Report who was assigned and why (summarise the selection factors briefly).
22+
23+
## Requirements
24+
25+
- The environment variables `STEEL_OOO_URL` and `STEEL_OOO_KEY` must be set for OOO checking. If they are not set, warn the user but proceed without OOO data.
26+
- The `gh` CLI must be authenticated.
27+
28+
## When to use
29+
30+
Invoke this skill after:
31+
- A reviewer requested changes
32+
- The PR author (and optionally another contributor) pushed fixes
33+
- The author wants a fresh pair of eyes on the updated PR

0 commit comments

Comments
 (0)