mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
chore: fix workflow and bump config schema (#7391)
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user