Skip to content

Commit 4c696e7

Browse files
Copilotpethers
andauthored
fix: enhance release notes with accurate versions, 20 badges, ISMS links, and complete autolabeler (#960)
* Initial plan * feat: Enhance release notes with comprehensive badges, ISMS links, and test evidence - Add SLSA, OpenSSF Scorecard, CII Best Practices, FOSSA badges - Add Hack23 ISMS policy badges (Information Security, Open Source, Secure Development) - Add SonarCloud quality badges (Quality Gate, Security, Maintainability, Reliability) - Add live test evidence links (Coverage, Unit Tests, E2E Tests) - Add test documentation badges (Test Plans, Performance) - Add compliance evidence badges (Compliance Evidence, Accessibility) - Update tech stack to mention Node.js 24, Vite 7, React 19, TypeScript 5.9, Tailwind CSS 4 - Add build attestations and release information sections - Sync labeler.yml with all labels used in release-drafter.yml - Add missing labels: fix, design, style, database, build, config, javascript, github_actions, major, breaking Co-authored-by: pethers <1726836+pethers@users.noreply.github.com> * fix: update tech stack versions to match package.json and add missing autolabeler rules - Update Vite to 7.3 (from package.json 7.3.1) - Update React to 19.2 (from package.json 19.2.4) - Update TypeScript to 5.9.3 (from package.json 5.9.3) - Fix Node.js requirement to >= 20.0.0 (package.json engines, not version 24) - Add autolabeler rules for major, breaking, javascript, github_actions labels - Maintain dual labeling system (labeler.yml + autolabeler) for consistency Co-authored-by: pethers <1726836+pethers@users.noreply.github.com> * fix: update Tailwind CSS version to 4.1 and align database label body matcher with PR template - Update Tailwind CSS from "4" to "4.1" to match package.json (^4.1.18) - Fix database label body matcher from "Analytics & Data" to "Analytics & Visualization" to match PR template - Ensures version accuracy and prevents silent labeling failures Co-authored-by: pethers <1726836+pethers@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
1 parent 3e1900a commit 4c696e7

File tree

2 files changed

+180
-8
lines changed

2 files changed

+180
-8
lines changed

.github/labeler.yml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ bug:
3333
- title: "bug:*"
3434
- body: "- [x] 🐛 Bug Fix"
3535

36+
fix:
37+
- any:
38+
- changed-files:
39+
- any-glob-to-any-file:
40+
- "src/**/fix/**"
41+
- "src/**/bug/**"
42+
- title: "fix:*"
43+
- body: "- [x] 🐛 Bug Fix"
44+
3645
# 📈 Analytics and Visualization
3746
analytics:
3847
- any:
@@ -56,6 +65,17 @@ visualization:
5665
- title: "chart:*"
5766
- body: "- [x] 📈 Analytics & Visualization"
5867

68+
database:
69+
- any:
70+
- changed-files:
71+
- any-glob-to-any-file:
72+
- "src/**/database/**"
73+
- "src/**/db/**"
74+
- "**/*.sql"
75+
- title: "database:*"
76+
- title: "db:*"
77+
- body: "- [x] 📈 Analytics & Visualization"
78+
5979
# 🎨 UI/UX Improvements
6080
ui:
6181
- any:
@@ -76,6 +96,28 @@ ui:
7696
- title: "design:*"
7797
- body: "- [x] 🎨 UI/UX Improvements"
7898

99+
design:
100+
- any:
101+
- changed-files:
102+
- any-glob-to-any-file:
103+
- "src/**/theme/**"
104+
- "src/**/*.styles.*"
105+
- "public/**/*.svg"
106+
- "public/**/*.png"
107+
- title: "design:*"
108+
- body: "- [x] 🎨 UI/UX Improvements"
109+
110+
style:
111+
- any:
112+
- changed-files:
113+
- any-glob-to-any-file:
114+
- "src/**/*.css"
115+
- "src/**/*.scss"
116+
- "src/**/*.less"
117+
- "src/**/*.styles.*"
118+
- title: "style:*"
119+
- body: "- [x] 🎨 UI/UX Improvements"
120+
79121
# 🏗️ Infrastructure & Performance
80122
infrastructure:
81123
- any:
@@ -105,6 +147,31 @@ performance:
105147
- title: "optimize:*"
106148
- body: "- [x] 🏗️ Infrastructure & Performance"
107149

150+
build:
151+
- any:
152+
- changed-files:
153+
- any-glob-to-any-file:
154+
- "**/vite.config.*"
155+
- "**/tsconfig.json"
156+
- "**/webpack.config.*"
157+
- "**/rollup.config.*"
158+
- "scripts/build/**"
159+
- title: "build:*"
160+
- title: "chore(build):*"
161+
- body: "- [x] 🏗️ Infrastructure & Performance"
162+
163+
config:
164+
- any:
165+
- changed-files:
166+
- any-glob-to-any-file:
167+
- "**/*.config.*"
168+
- ".github/**/*.yml"
169+
- ".github/**/*.yaml"
170+
- "configs/**"
171+
- title: "config:*"
172+
- title: "chore(config):*"
173+
- body: "- [x] 🏗️ Infrastructure & Performance"
174+
108175
# 🔄 Code Quality & Refactoring
109176
refactor:
110177
- any:
@@ -184,6 +251,18 @@ dependencies:
184251
- title: "dependencies:*"
185252
- body: "- [x] 📦 Dependencies Update"
186253

254+
javascript:
255+
- changed-files:
256+
- any-glob-to-any-file:
257+
- "package.json"
258+
- "package-lock.json"
259+
260+
github_actions:
261+
- changed-files:
262+
- any-glob-to-any-file:
263+
- ".github/workflows/**"
264+
- ".github/actions/**"
265+
187266
# Coverage-driven labels (based on test coverage report)
188267
needs-tests:
189268
- changed-files:
@@ -316,3 +395,17 @@ security-high:
316395

317396
security-very-high:
318397
- body: "- [x] Very High"
398+
399+
# Version Control Labels
400+
major:
401+
- any:
402+
- title: "major:*"
403+
- title: "breaking:*"
404+
- title: "BREAKING CHANGE:*"
405+
- body: "BREAKING CHANGE"
406+
407+
breaking:
408+
- any:
409+
- title: "breaking:*"
410+
- title: "BREAKING CHANGE:*"
411+
- body: "BREAKING CHANGE"

.github/release-drafter.yml

Lines changed: 87 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,74 @@ template: |
8989
# Highlights
9090
$CHANGES
9191
92-
## Security Compliance
92+
---
93+
94+
## 🛡️ Security & Compliance
95+
96+
### Build Attestations & Supply Chain Security
9397
[![SLSA 3](https://slsa.dev/images/gh-badge-level3.svg)](https://github.com/Hack23/cia-compliance-manager/attestations/)
98+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/Hack23/cia-compliance-manager/badge)](https://scorecard.dev/viewer/?uri=github.com/Hack23/cia-compliance-manager)
99+
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/10365/badge)](https://bestpractices.coreinfrastructure.org/projects/10365)
100+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FHack23%2Fcia-compliance-manager.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FHack23%2Fcia-compliance-manager?ref=badge_shield)
101+
102+
### Hack23 ISMS Policies
103+
[![Information Security Policy](https://img.shields.io/badge/ISMS-Information_Security_Policy-0A66C2?style=flat&logo=shield&logoColor=white)](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Information_Security_Policy.md)
104+
[![Open Source Policy](https://img.shields.io/badge/ISMS-Open_Source_Policy-0A66C2?style=flat&logo=opensource&logoColor=white)](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Open_Source_Policy.md)
105+
[![Secure Development](https://img.shields.io/badge/ISMS-Secure_Development_Policy-0A66C2?style=flat&logo=github&logoColor=white)](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Secure_Development_Policy.md)
106+
107+
### Code Quality & Security Analysis
108+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Hack23_cia-compliance-manager&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Hack23_cia-compliance-manager)
109+
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=Hack23_cia-compliance-manager&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=Hack23_cia-compliance-manager)
110+
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Hack23_cia-compliance-manager&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Hack23_cia-compliance-manager)
111+
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=Hack23_cia-compliance-manager&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=Hack23_cia-compliance-manager)
112+
113+
---
114+
115+
## 🧪 Testing & Evidence
116+
117+
### Test Reports & Coverage (Live Results)
118+
[![Coverage](https://img.shields.io/badge/Coverage-Live%20Results-success?style=flat&logo=vitest&logoColor=white)](https://ciacompliancemanager.com/docs/coverage/)
119+
[![Unit Tests](https://img.shields.io/badge/Unit%20Tests-Live%20Results-success?style=flat&logo=vitest&logoColor=white)](https://ciacompliancemanager.com/docs/test-results/)
120+
[![E2E Tests](https://img.shields.io/badge/E2E%20Tests-Live%20Results-success?style=flat&logo=cypress&logoColor=white)](https://ciacompliancemanager.com/docs/cypress/mochawesome/)
121+
[![Code Coverage](https://sonarcloud.io/api/project_badges/measure?project=Hack23_cia-compliance-manager&metric=coverage)](https://sonarcloud.io/summary/new_code?id=Hack23_cia-compliance-manager)
94122
95-
## Tech Stack
96-
- ⚡ **Vite** - Fast build tool
97-
- ⚛️ **React 19** - Modern UI framework
98-
- 🔷 **TypeScript** - Type-safe development
99-
- 📊 **Recharts** - Data visualization
100-
- 🧪 **Vitest** - Unit testing
123+
### Test Documentation
124+
[![Test Plan](https://img.shields.io/badge/Unit_Test_Plan-Documentation-blue?style=flat&logo=markdown&logoColor=white)](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/UnitTestPlan.md)
125+
[![E2E Plan](https://img.shields.io/badge/E2E_Test_Plan-Documentation-blue?style=flat&logo=markdown&logoColor=white)](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/E2ETestPlan.md)
126+
[![Performance](https://img.shields.io/badge/Performance_Testing-Documentation-blue?style=flat&logo=lighthouse&logoColor=white)](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/performance-testing.md)
127+
128+
### Compliance Evidence
129+
[![Compliance Evidence](https://img.shields.io/badge/Compliance-Evidence_Catalog-success?style=flat&logo=shield&logoColor=white)](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/COMPLIANCE_EVIDENCE.md)
130+
[![Accessibility](https://img.shields.io/badge/Accessibility-WCAG_2.1_AA-success?style=flat&logo=accessibility&logoColor=white)](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/ACCESSIBILITY_COMPLIANCE.md)
131+
132+
---
133+
134+
## 🚀 Tech Stack
135+
136+
- ⚡ **Vite 7.3** - Lightning-fast build tool
137+
- ⚛️ **React 19.2** - Modern UI framework with enhanced performance
138+
- 🔷 **TypeScript 5.9.3** - Type-safe development
139+
- 📊 **Chart.js** - Interactive data visualization
140+
- 🧪 **Vitest** - Fast unit testing framework
141+
- 🌐 **Cypress** - End-to-end testing
142+
- 📦 **Node.js >= 20.0.0** - Runtime environment (see nodejs.org for LTS schedule)
143+
- 🎨 **Tailwind CSS 4.1** - Utility-first CSS framework
101144
102-
## Contributors
145+
---
146+
147+
## 🤝 Contributors
148+
103149
Thanks to $CONTRIBUTORS for their contributions to this release!
104150
151+
---
152+
153+
## 📋 Release Information
154+
105155
**Full Changelog**: https://github.com/Hack23/cia-compliance-manager/compare/$PREVIOUS_TAG...$RESOLVED_VERSION
156+
157+
**Build Attestations**: [View SLSA Attestations](https://github.com/Hack23/cia-compliance-manager/attestations/)
158+
159+
**Download**: [Release Assets](https://github.com/Hack23/cia-compliance-manager/releases/tag/$RESOLVED_VERSION)
106160
107161
version-resolver:
108162
major:
@@ -260,3 +314,28 @@ autolabeler:
260314
- '**/*.spec.*'
261315
- 'cypress/**/*'
262316
- '__tests__/**/*'
317+
318+
# Version Control & Breaking Changes
319+
- label: "major"
320+
title:
321+
- '/^major(\([^)]+\))?:/i'
322+
- '/^breaking(\([^)]+\))?:/i'
323+
- '/^BREAKING CHANGE:/i'
324+
- '/\[breaking\]/i'
325+
326+
- label: "breaking"
327+
title:
328+
- '/^breaking(\([^)]+\))?:/i'
329+
- '/^BREAKING CHANGE:/i'
330+
- '/\[breaking\]/i'
331+
332+
# Dependencies Subcategories
333+
- label: "javascript"
334+
files:
335+
- 'package.json'
336+
- 'package-lock.json'
337+
338+
- label: "github_actions"
339+
files:
340+
- '.github/workflows/**'
341+
- '.github/actions/**'

0 commit comments

Comments
 (0)