Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -10389,6 +10389,12 @@
"fileMatch": ["Acton.toml"],
"url": "https://raw.githubusercontent.com/ton-blockchain/acton/master/crates/acton-config/schemas/acton.schema.json"
},
{
"name": "act3",
"description": "act3 configuration file",
"fileMatch": ["**/act3/act3.yml"],
"url": "https://www.schemastore.org/act3.json"
},
{
"name": "memnex",
"description": "Open specification for portable meeting outputs \u2014 transcripts, summaries, action items, and decisions. https://memnex.org",
Expand Down
7 changes: 7 additions & 0 deletions src/negative_test/act3/invalid-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# yaml-language-server: $schema=../../schemas/json/act3.json
workflows:
- id: ''
repo: dhth
name: ''
key: ''
url: http://example.com/runs/{{runNumber}}
51 changes: 51 additions & 0 deletions src/schemas/json/act3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/act3.json",
"title": "act3 configuration",
"description": "Configuration for act3, a terminal user interface for tracking GitHub Actions workflow runs.\nhttps://github.com/dhth/act3#usage",
"type": "object",
"additionalProperties": true,
"properties": {
"workflows": {
"description": "GitHub Actions workflows to track.",
"type": "array",
"items": {
"$ref": "#/definitions/workflow"
}
}
},
"definitions": {
"workflow": {
"type": "object",
"additionalProperties": true,
"required": ["id", "repo", "name"],
"properties": {
"id": {
"description": "GitHub Actions workflow ID.",
"type": "string",
"minLength": 1
},
"repo": {
"description": "GitHub repository in owner/name form.",
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
},
"name": {
"description": "Display name for the workflow.",
"type": "string",
"minLength": 1
},
"key": {
"description": "Optional key used to disambiguate workflows with the same name.",
"type": "string",
"minLength": 1
},
"url": {
"description": "Optional HTTPS URL template associated with the workflow.",
"type": "string",
"pattern": "^https://"
}
}
}
}
}
10 changes: 10 additions & 0 deletions src/test/act3/act3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# yaml-language-server: $schema=../../schemas/json/act3.json
workflows:
- id: W_kwDOLkC0eM4FaKV_
repo: dhth/act3
name: build
- id: W_kwDOLb3Pms4FRxjX
repo: dhth/cueitup
name: release
key: cueitup-release
url: https://example.com/runs/{{runNumber}}
Loading