Skip to content

Commit 0a15ba8

Browse files
committed
chore: add --body-file rule for PR descriptions
1 parent 2a31bd5 commit 0a15ba8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ When any feature branch is updated, rebuild `develop` from scratch.
7171
- **Target:** `linkml/linkml` `main`
7272
- **Source:** `ASCS-eV/linkml` `fix/...` or `feat/...`
7373
- **Never** open an upstream PR from `develop` or `main`
74+
- **Always** write the PR description to a markdown file first, then pass it
75+
via `--body-file` to avoid shell escaping and formatting issues:
76+
77+
```bash
78+
# Write description to .playground/pr-description.md first, then:
79+
gh pr create --repo linkml/linkml --base main --head ASCS-eV:fix/my-fix \
80+
--title "fix(owlgen): description" \
81+
--body-file .playground/pr-description.md
82+
```
7483

7584
### 5. Commit policy
7685

0 commit comments

Comments
 (0)