chore: use .worktreeinclude for user Bazel config (#31271)

## Why

Codex worktrees need to inherit the ignored `user.bazelrc` file so Bazel
keeps using local developer settings. `.worktreeinclude` expresses that
copy declaratively, so the dedicated setup script is no longer needed.

## What

- add `user.bazelrc` to `.worktreeinclude`
- remove the Python copy script and its environment setup hook

## Validation

- `git diff --check`
- confirmed `git check-ignore -v user.bazelrc` matches `.gitignore`
This commit is contained in:
Adam Perry @ OpenAI
2026-07-06 16:12:07 -07:00
committed by GitHub
parent d61ad78abc
commit 9e24996472
3 changed files with 1 additions and 68 deletions

1
.worktreeinclude Normal file
View File

@@ -0,0 +1 @@
user.bazelrc