You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your changes present a non-bugfix change to one or more datasets which are cloud-hosted (CPS, ECPS and PUF), then please change both the filename and URL (in both the class definition file and in `storage/upload_completed_datasets.py`. This enables us to store historical versions of datasets separately and reproducibly.
4
+
5
+
## Opening PRs
6
+
7
+
Push PR branches to the upstream `PolicyEngine/policyengine-us-data` repository, not to a personal fork. From the repo root, run:
8
+
9
+
`make push-pr-branch`
10
+
11
+
This avoids the fork-only CI failure path and sets the upstream tracking branch correctly before opening the PR.
Copy file name to clipboardExpand all lines: CLAUDE.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,14 @@
28
28
-**CRITICAL**: NEVER create PRs from personal forks - ALL PRs MUST be created from branches pushed to the upstream PolicyEngine repository
29
29
- CI requires access to secrets that are not available to fork PRs for security reasons
30
30
- Fork PRs will fail on data download steps and cannot be merged
31
+
- Before opening a PR, always run `make push-pr-branch` from the repo root. This pushes the current branch to the `upstream` remote and sets the upstream tracking branch correctly for PR creation.
32
+
- Do not prefix PR titles with `[codex]` or any other agent label. Use the plain descriptive title.
31
33
- Always create branches directly on the upstream repository:
32
34
```bash
33
35
git checkout main
34
36
git pull upstream main
35
37
git checkout -b your-branch-name
36
-
git push -u upstream your-branch-name
38
+
make push-pr-branch
37
39
```
38
40
- Use descriptive branch names like `fix-issue-123` or `add-feature-name`
0 commit comments