Skip to content

Commit a289092

Browse files
authored
feat(circleciconfig): update job types (SchemaStore#4668)
* feat(CircleCI): update job types https://circleci.com/docs/configuration-reference/#job-type * feat(CircleCI): add job param: plan_name https://circleci.com/docs/configuration-reference/#job-type * chore: update the codeowners with employee names to allow for working with the LGTM bot
1 parent 56c106e commit a289092

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ src/test/zuul/ @ssbarnea
1515
src/negative_test/zuul/ @ssbarnea
1616

1717
# Managed by CircleCI Developer Experience team:
18-
src/schemas/json/circleciconfig.json @CircleCI-Public/developer-experience
19-
src/test/circleciconfig/ @CircleCI-Public/developer-experience
20-
src/negative_test/circleciconfig/ @CircleCI-Public/developer-experience
18+
src/schemas/json/circleciconfig.json @CircleCI-Public/developer-experience @meeech @gordonsyme
19+
src/test/circleciconfig/ @CircleCI-Public/developer-experience @meeech @gordonsyme
20+
src/negative_test/circleciconfig/ @CircleCI-Public/developer-experience @meeech @gordonsyme
2121

2222
# Managed by JetBrains YouTrack team
2323
src/schemas/json/youtrack-app.json @skoch13 @andrey-skl @zmaks
@@ -43,4 +43,4 @@ src/schemas/json/contextive-glossary.json @chrissimon-au
4343

4444
# pnpm Schemas:
4545
src/schemas/json/pnpm-workspace.json @danielbayley @btea
46-
src/test/pnpm-workspace/ @danielbayley @btea
46+
src/test/pnpm-workspace/ @danielbayley @btea

src/schemas/json/circleciconfig.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,8 +1125,13 @@
11251125
"default": "org-global"
11261126
},
11271127
"type": {
1128-
"description": "A job may have a `type` of `approval` indicating it must be manually approved before downstream jobs may proceed.",
1129-
"enum": ["approval"]
1128+
"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",
1129+
"enum": ["approval", "build", "no-op", "release"],
1130+
"default": "build"
1131+
},
1132+
"plan_name": {
1133+
"description": "The name of the plan to run. This works with the release job only.\nhttps://circleci.com/docs/configuration-reference/#job-type",
1134+
"type": "string"
11301135
},
11311136
"filters": {
11321137
"description": "A map defining rules for execution on specific branches",

0 commit comments

Comments
 (0)