Commit 6c9d282
authored
chore: update release notes skill to filter by base branch (tldraw#8150)
In order to prevent release notes from including PRs that were merged
into feature branches (not main), this updates the write-release-notes
skill to check `baseRefName` when fetching PR details.
### Change type
- [x] `other`
### Test plan
1. Run the write-release-notes skill and verify it skips PRs merged into
non-main branches.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk documentation-only change that updates guidance for how to
collect PR metadata; no runtime or production code is affected.
>
> **Overview**
> Updates the `write-release-notes` skill instructions to fetch
`baseRefName` via `gh pr view` and explicitly **exclude PRs not
targeting `main`** when compiling release notes, preventing
feature-branch merges from being mistakenly included.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
0316bb8. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 3fca95b commit 6c9d282
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments