From f9f12aec25e5c5db7d0f854475c276385d9edd23 Mon Sep 17 00:00:00 2001 From: hugoalh <32359235+hugoalh@users.noreply.github.com> Date: Thu, 21 Dec 2023 17:55:16 +0800 Subject: [PATCH] Update workflow --- .github/labels.schema.json | 43 -------------------------------------- .github/labels.yml | 2 +- 2 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 .github/labels.schema.json diff --git a/.github/labels.schema.json b/.github/labels.schema.json deleted file mode 100644 index a621a6ef..00000000 --- a/.github/labels.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "GitHub Labels Schema", - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the label.", - "minLength": 1, - "pattern": "^(?:[^\\s].*)?[^\\s]$" - }, - "color": { - "type": "string", - "description": "Color of the label.", - "pattern": "^#?[\\dA-Fa-f]{6}$" - }, - "description": { - "type": "string", - "description": "Description of the label.", - "minLength": 1, - "pattern": "^(?:[^\\s].*)?[^\\s]$" - }, - "aliases": { - "type": "array", - "description": "Aliases of the label.", - "items": { - "type": "string", - "description": "Alias of the label.", - "minLength": 1, - "pattern": "^(?:[^\\s].*)?[^\\s]$" - }, - "uniqueItems": true - } - }, - "required": [ - "name", - "color" - ] - }, - "uniqueItems": true -} diff --git a/.github/labels.yml b/.github/labels.yml index 73292417..6f3b16c2 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=./labels.schema.json +# yaml-language-server: $schema=https://hugoalh.github.io/schema/json/github-labels.json - name: "Platform/Android" color: "#3DDC84" description: "Related to Android."