Skip to content

Commit 0a1a49d

Browse files
authored
Merge branch 'main' into driver-v2
2 parents 3aec179 + c544da9 commit 0a1a49d

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 repo (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)