-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from fcollonval/ft/json-config
Add JSON Schema for Config
- Loading branch information
Showing
4 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include *.md | ||
include LICENSE | ||
prune media | ||
include jupyter_releaser/schema.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"title": "Jupyter Releaser Metadata", | ||
"version": "0.1.0", | ||
"description": "Jupyter Releaser configuration metadata", | ||
"properties": { | ||
"skip": { | ||
"title": "Skip Steps", | ||
"description": "A list of steps to skip in actions", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"options": { | ||
"title": "Overrides for default options", | ||
"description": "Overrides for cli option names", | ||
"additionalProperties": { | ||
"anyOf": [ | ||
{ "type": "string" }, | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"hooks": { | ||
"title": "Action Step Hooks", | ||
"description": "Hooks to run before or after action steps", | ||
"patternProperties": { | ||
"^(before|after)-.*$": { | ||
"anyOf": [ | ||
{ "type": "string" }, | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters