ci: raise hotspot code health threshold to 9.5

Current score: 9.53. Floor raised from 9.2 → 9.5 to lock in gains.
This commit is contained in:
lucaronin
2026-03-18 09:24:37 +01:00
parent 9c0e39180c
commit ce7b5f93d3

View File

@@ -85,13 +85,13 @@ jobs:
# comments on PRs). This step enforces a minimum floor on the
# project-wide Hotspot Code Health score (weighted avg of the most
# frequently edited files — the ones that matter most).
# Current baseline: 9.33 | Aspirational target: 9.5
- name: Hotspot Code Health gate (≥9.2)
# Current baseline: 9.53 | Aspirational target: 9.8
- name: Hotspot Code Health gate (≥9.5)
env:
CODESCENE_PAT: ${{ secrets.CODESCENE_PAT }}
CODESCENE_PROJECT_ID: ${{ secrets.CODESCENE_PROJECT_ID }}
run: |
THRESHOLD=9.2
THRESHOLD=9.5
SCORE=$(curl -sf \
-H "Authorization: Bearer $CODESCENE_PAT" \
-H "Accept: application/json" \