Skip to content

Commit 23e636d

Browse files
authored
fix(ci): improve nightly changelog readability and fix null issue titles (#683)
* fix(ci): improve nightly changelog readability - Fetch issue titles individually via gh issue view (fix null titles) - PR numbers are clickable links in Feishu card - Closing issues shown with 📌 prefix, clearly separated from PR title - Add GitHub Step Summary with version/baseline/changelog table - Clean PR titles by stripping conventional commit prefix for display - Three output formats: feishu (links), github (GFM), plain (LLM input) * fix(ci): parallelize arm64 and x64 release builds * fix(ci): include merge-commit PR numbers in nightly changelog Previously only matched squash-merge format '(#123)'. Now also matches 'Merge pull request #123' format, fixing incomplete changelogs when the commit range includes non-squash merges.
1 parent ad6a10e commit 23e636d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/desktop-nightly.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,12 @@ jobs:
9696
echo "Comparing: ${last_release}..HEAD"
9797
echo "last_release=$last_release" >> "$GITHUB_OUTPUT"
9898
99-
# Extract merged PR numbers from merge commits + squash merges
99+
# Extract merged PR numbers from both formats:
100+
# Squash merge: "feat: add foo (#123)" → matches (#123)
101+
# Merge commit: "Merge pull request #123 from ..." → matches #123
100102
pr_numbers=$(git log "${last_release}..HEAD" --oneline \
101-
| grep -oE '\(#[0-9]+\)' | tr -d '(#)' | sort -un || true)
103+
| grep -oE '(\(#[0-9]+\)|Merge pull request #[0-9]+)' \
104+
| grep -oE '[0-9]+' | sort -un || true)
102105
103106
# Output files: feishu (with feishu markdown links), github (GFM), plain (for LLM)
104107
feishu_lines=""

.github/workflows/desktop-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ concurrency:
2323
jobs:
2424
release:
2525
strategy:
26-
max-parallel: 1
2726
matrix:
2827
include:
2928
- runner: macos-14

0 commit comments

Comments
 (0)