Skip to content

Commit 2fec908

Browse files
committed
fix: add missing job types to publicschema.json
1 parent 1758e45 commit 2fec908

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

publicschema.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,10 +1100,14 @@
11001100
"default": "org-global"
11011101
},
11021102
"type": {
1103-
"description": "A job may have a `type` of `approval` indicating it must be manually approved before downstream jobs may proceed.",
1103+
"description": "Job type, can be build, release, no-op, or approval. If not specified, defaults to build.\nhttps://circleci.com/docs/configuration-reference/#job-type",
11041104
"enum": [
1105-
"approval"
1106-
]
1105+
"approval",
1106+
"build",
1107+
"no-op",
1108+
"release"
1109+
],
1110+
"default": "build"
11071111
},
11081112
"filters": {
11091113
"description": "A map defining rules for execution on specific branches",
@@ -1346,4 +1350,4 @@
13461350
],
13471351
"title": "JSON schema for CircleCI configuration files",
13481352
"type": "object"
1349-
}
1353+
}

0 commit comments

Comments
 (0)