Skip to content

Commit 34c0f9d

Browse files
authored
Merge branch '8.0.x' into upgrade/gradle-9.3.1
2 parents 5afdf6d + 51e8a46 commit 34c0f9d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release-notes.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,18 @@ jobs:
3636
pull-requests: write
3737
runs-on: ubuntu-latest
3838
steps:
39+
- name: "🔢 Derive semver range from branch"
40+
id: version
41+
run: |
42+
BRANCH="${{ github.event.pull_request.base.ref || github.ref_name }}"
43+
if [[ "$BRANCH" =~ ^[0-9]+\.[0-9]+\.x$ ]]; then
44+
echo "range=~${BRANCH%.x}.0" >> "$GITHUB_OUTPUT"
45+
fi
3946
- name: "📝 Update Release Draft"
4047
uses: release-drafter/release-drafter@v7
48+
continue-on-error: true
49+
with:
50+
commitish: ${{ github.event.pull_request.base.ref || github.ref_name }}
51+
filter-by-range: ${{ steps.version.outputs.range }}
4152
env:
4253
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)