This repository was archived by the owner on Sep 11, 2026. It is now read-only.
Repository navigation
Commit 3d2d03d
committed
feat(ci): Refactor release notes generation
This commit overhauls the `release.yml` workflow to improve how release notes are generated when a new version tag is pushed.
The previous shell-based script, which relied on milestones and commit logs, has been replaced with a more robust `github-script` action. The new approach automatically identifies pull requests merged between the current and previous tags.
**Key Changes:**
* **Replaced manual scripting with `github-script`**: The `run` step for generating release notes is replaced by `actions/github-script@v7`.
* **Automated PR detection**: The script now uses the GitHub API to compare commits between the new and previous tags. It extracts PR numbers from commit messages (both merge and squash commits) to build the release notes.
* **Focus on PRs, not milestones**: The logic no longer depends on associating issues with a specific milestone. It instead lists the titles and authors of the merged pull requests.
* **Updated action version**: The `softprops/action-gh-release` action is updated from `v1` to `v2`.
* **Simplified output**: The new process produces a cleaner list of fixed issues and improvements based directly on merged PRs.1 parent 18e843a commit 3d2d03d
1 file changed
Lines changed: 66 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
48 | 79 | | |
49 | 80 | | |
50 | | - | |
| 81 | + | |
51 | 82 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 83 | + | |
55 | 84 | | |
56 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments