Skip to content

Commit a88bcdc

Browse files
committed
ci: filter maintenance release notes
1 parent 7743f53 commit a88bcdc

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
date = ENV.fetch("DATE")
7575
7676
EMOJI_HEADINGS = ["### ✨", "### 🔄", "### 🐛", "### 🔧", "### 📚", "### 🧪", "### 📦", "### 🧱"].freeze
77-
PUBLIC_RELEASE_NOTE_EXCLUDED_HEADINGS = ["### 🔧 CI/CD"].freeze
77+
PUBLIC_RELEASE_NOTE_EXCLUDED_HEADINGS = ["### 🔧 CI/CD", "### 🧪 Tests", "### 📦 Build"].freeze
7878
7979
def extract_unreleased(path)
8080
content = File.read(path)

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
6666
version = ARGV.fetch(0)
6767
output = ARGV.fetch(1)
68-
excluded_headings = ["### 🔧 CI/CD"]
68+
excluded_headings = ["### 🔧 CI/CD", "### 🧪 Tests", "### 📦 Build"]
6969
7070
def public_release_notes(markdown, excluded_headings)
7171
skip_section = false

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- Updated the bundled Mermaid runtime to [mermaid@11.15.0](https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0).
1111

1212
### 🔧 CI/CD
13-
- Filtered internal CI/CD entries out of public release notes and JetBrains Marketplace change notes.
13+
- Filtered internal maintenance entries out of public release notes and JetBrains Marketplace change notes.
1414
- Configured release automation commits and tags with GitHub-attributed author and collaborator metadata.
1515
- Enforced Unreleased-only bilingual changelog updates and duplicate section checks in CI.
1616
- Added upstream release links, automated PR labels, and co-author metadata to Mermaid runtime sync automation.

CHANGELOG_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- 将内置 Mermaid runtime 更新到 [mermaid@11.15.0](https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0)
1111

1212
### 🔧 CI/CD
13-
- 从公开 release notes 和 JetBrains Marketplace change notes 中过滤内部 CI/CD 条目
13+
- 从公开 release notes 和 JetBrains Marketplace change notes 中过滤内部维护类条目
1414
- 为 release 自动化提交和 tag 配置可归属的 GitHub 作者与协作者元数据。
1515
- 在 CI 中强制双语 changelog 只能更新 Unreleased,并检查重复小节。
1616
- 为 Mermaid runtime 同步自动化新增上游 release 链接、自动 PR labels 和 co-author 元数据。

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ dependencies {
4646
}
4747
}
4848

49-
val publicReleaseNoteExcludedHeadings = setOf("### 🔧 CI/CD")
49+
val publicReleaseNoteExcludedHeadings = setOf(
50+
"### 🔧 CI/CD",
51+
"### 🧪 Tests",
52+
"### 📦 Build",
53+
)
5054

5155
fun publicReleaseNotes(markdown: String): String {
5256
var skipSection = false

0 commit comments

Comments
 (0)