Skip to content

Commit cf024fb

Browse files
mdboomclaude
andcommitted
docs: instruct agents to use personal fork, not upstream, for PRs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 774e988 commit cf024fb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ guide for package-specific conventions and workflows.
1414

1515
# Pull requests
1616

17+
**Never push branches or commits to the upstream fork (github.com/NVIDIA/cuda-python).
18+
Treat it as read-only.** All branch creation and pushes must go to the contributor's
19+
personal fork. Before pushing, confirm which remote points to the contributor's
20+
personal fork (not `upstream`) by running `git remote -v`, then push there
21+
(`git push <personal-fork-remote> <branch>`). Open the PR from that fork with
22+
`gh pr create`. Do not use `git push upstream` or any command that writes to
23+
the `upstream` remote.
24+
1725
When creating pull requests with `gh pr create`, always assign at least one
1826
label and a milestone. CI enforces this via the `pr-metadata-check` workflow
1927
and will block PRs that are missing labels or a milestone. Use `--label` and

0 commit comments

Comments
 (0)