diff --git a/.github/labels.schema.json b/.github/labels.schema.json deleted file mode 100644 index a621a6e..0000000 --- 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 7329241..6f3b16c 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."