chore: fix workflow and bump config schema (#7391)

This commit is contained in:
David Knaack
2026-04-11 13:18:14 +02:00
committed by GitHub
parent 58b45cc927
commit 727fbe1914
2 changed files with 16 additions and 1 deletions
+15
View File
@@ -190,6 +190,9 @@
"format": "[$gauge $percentage]($style) ", "format": "[$gauge $percentage]($style) ",
"symbol": "", "symbol": "",
"gauge_width": 5, "gauge_width": 5,
"gauge_full_symbol": "█",
"gauge_partial_symbol": "▒",
"gauge_empty_symbol": "░",
"display": [ "display": [
{ {
"threshold": 0.0, "threshold": 0.0,
@@ -2319,6 +2322,18 @@
"maximum": 255, "maximum": 255,
"default": 5 "default": 5
}, },
"gauge_full_symbol": {
"type": "string",
"default": "█"
},
"gauge_partial_symbol": {
"type": "string",
"default": "▒"
},
"gauge_empty_symbol": {
"type": "string",
"default": "░"
},
"display": { "display": {
"type": "array", "type": "array",
"items": { "items": {
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
uses: actions/github-script@v9 uses: actions/github-script@v9
with: with:
script: | script: |
import { execSync } from 'node:child_process'; const { execSync } = require('child_process');
const pattern = /^docs\/[a-z][a-z][a-z]?-[A-Z][A-Z]?\/.*$/; const pattern = /^docs\/[a-z][a-z][a-z]?-[A-Z][A-Z]?\/.*$/;
const base = context.payload.pull_request.base.sha; const base = context.payload.pull_request.base.sha;
const head = context.payload.pull_request.head.sha; const head = context.payload.pull_request.head.sha;