Skip to content

Commit 60c5204

Browse files
committed
regression-test-skill: add Adjust pull request description step
1 parent 3a1eb2d commit 60c5204

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.claude/skills/regression-test/SKILL.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,15 @@ If the test passes even with the fix reverted, the test is not correctly coverin
189189

190190
## Step 6 — Commit
191191

192-
Stage the new/modified test files and commit. The commit message must include `Closes https://github.com/phpstan/phpstan/issues/<number>` so the upstream issue is closed automatically.
192+
Stage the new/modified test files and commit.
193193

194194
```bash
195195
git add tests/
196196
git commit -m "Add regression test for #<number>
197197
198198
Closes https://github.com/phpstan/phpstan/issues/<number>"
199199
```
200+
201+
## Step 7 - Adjust pull request description
202+
203+
If you are submitting a pull request, append the PR description with a link to the issue with `Closes https://github.com/phpstan/phpstan/issues/<number>` so the upstream issue is closed automatically.

0 commit comments

Comments
 (0)