Skip to content

Commit

Permalink
chore(schema): add default values for CI name with availability to en…
Browse files Browse the repository at this point in the history
…ter anything without a schema error

Signed-off-by: kilianpaquier <kilian@kilianpaquier.com>
  • Loading branch information
kilianpaquier committed Oct 27, 2024
1 parent 5c6c026 commit 33a4045
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .schemas/craft.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,19 @@
},
"name": {
"description": "CI Name.",
"type": "string",
"default": "github"
"default": "github",
"anyOf": [
{
"type": "string",
"enum": [
"github",
"gitlab"
]
},
{
"type": "string"
}
]
},
"options": {
"description": "CI Options.",
Expand Down

0 comments on commit 33a4045

Please sign in to comment.