fix(release): generate notes from verified tag history

This commit is contained in:
手瓜一十雪 committed 2026-10-10 12:27:51 +08:00
1 parent ff9a829e29
commit 26ad589367
4 files changed
+240 -210

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
name: Release notes
on:
push:
paths:
- .github/scripts/generate-release-notes.mjs
- .github/tests/release-notes/**
- .github/workflows/release-notes.yml
- .github/workflows/release-publish.yml
pull_request:
paths:
- .github/scripts/generate-release-notes.mjs
- .github/tests/release-notes/**
- .github/workflows/release-notes.yml
- .github/workflows/release-publish.yml
workflow_dispatch:
permissions:
contents: read
jobs:
notes:
runs-on: ${{ matrix.runner }}
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
runner: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: 20.x
- run: node --test .github/tests/release-notes/generate.test.mjs