Skip to content

Commit 0beb1d8

Browse files
committed
Prevent local IDEs from editing generated code
1 parent f7c41b8 commit 0beb1d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ Test method names are converted to lowercase snake_case for snapshot filenames t
213213

214214
### What NOT to Modify
215215

216+
- **DO NOT** edit, create, or delete any file under `src/generated/java/` — these are **auto-generated** by `scripts/codegen/java.ts` and will be overwritten. To update generated code, run `mvn generate-sources -Pcodegen` or trigger the `update-copilot-dependency.yml` workflow.
217+
If you need to get a new version of the schemas, run `mvn generate-sources -Pupdate-schemas-from-npm-artifact` before running the code generator.
216218
- **DO NOT** edit `.github/agents/` directory - these contain instructions for other agents
217219
- **DO NOT** modify `target/` directory - this contains build artifacts
218220
- **DO NOT** edit `pom.xml` dependencies without careful consideration - this SDK has minimal dependencies by design

0 commit comments

Comments
 (0)