What problem does it solve?
External contributors fork brave/brave-core and open PRs from their forks, but most of Brave's CI does not run on fork PRs for security reasons. This Skill dispatches the sync-and-rebase-pr-from-fork.yml workflow so an in-org mirror branch and draft PR are created, letting full CI run on the contributor's rebased commit.
Core Features & Use Cases
- PR Resolution: Accepts a GitHub username, PR numbers, short forms like
#36402, or full PR URLs, and resolves them to open cross-repo PRs against brave/brave-core.
- Duplicate Dispatch Detection: Reads recent workflow run logs to extract the
COMMIT_HASH input and skips PRs whose current HEAD SHA was already dispatched.
- Safe Filtering and Confirmation: Skips non-cross-repo and closed PRs, and asks for confirmation before batch dispatching since each run consumes CI minutes.
- Use Case: A maintainer says "create contributor PRs for jharris-tech" and the Skill finds all their open fork PRs, checks which HEAD commits already have dispatched runs, dispatches the workflow only where needed, and reports a per-PR status table.
Quick Start
Ask the assistant to create contributor PRs for a GitHub username or a list of brave/brave-core PR numbers so the rebase-from-fork workflow runs for each one.