Skip to content

Commit aa38f66

Browse files
gnodetclaude
andauthored
Fix release-drafter v7 branch filtering (#322)
- filter-by-commitish is a config option, not a workflow input - filter-by-range takes a semver range string, not a boolean - Use filter-by-range: "4.x.x" to scope to 4.0.x releases - Add filter-by-commitish: true in config to filter by target branch Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 08018c8 commit aa38f66

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name-template: $NEXT_PATCH_VERSION
22
tag-template: plexus-utils-$NEXT_PATCH_VERSION
33
version-template: $MAJOR.$MINOR.$PATCH
4+
filter-by-commitish: true
45

56
categories:
67
- title: ":boom: Breaking changes"

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
- uses: release-drafter/release-drafter@v7
1111
with:
1212
commitish: master
13-
filter-by-range: true
13+
filter-by-range: "4.x.x"
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)