Skip to content

Commit 3303169

Browse files
committed
Update vendored schemas
1 parent c696751 commit 3303169

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13-
- Update vendored schemas (2024-03-28)
13+
- Update vendored schemas (2024-03-31)
1414

1515
0.28.0
1616
------

src/check_jsonschema/builtin_schemas/vendor/github-actions.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"pattern": "^.*\\$\\{\\{(.|[\r\n])*\\}\\}.*$"
1616
},
1717
"pre-if": {
18-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#pre-if",
18+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre-if",
1919
"description": "Allows you to define conditions for the `pre:` action execution. The `pre:` action will only run if the conditions in `pre-if` are met. If not set, then `pre-if` defaults to `always()`. Note that the `step` context is unavailable, as no steps have run yet.",
2020
"type": "string"
2121
},
2222
"post-if": {
23-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#post-if",
23+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-if",
2424
"description": "Allows you to define conditions for the `post:` action execution. The `post:` action will only run if the conditions in `post-if` are met. If not set, then `post-if` defaults to `always()`.",
2525
"type": "string"
2626
},
@@ -40,15 +40,15 @@
4040
"type": "string"
4141
},
4242
"pre": {
43-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#pre",
43+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre",
4444
"description": "Allows you to run a script at the start of a job, before the `main:` action begins. For example, you can use `pre:` to run a prerequisite setup script. The application specified with the `using` syntax will execute this file. The `pre:` action always runs by default but you can override this using `pre-if`.",
4545
"type": "string"
4646
},
4747
"pre-if": {
4848
"$ref": "#/definitions/pre-if"
4949
},
5050
"post": {
51-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#post",
51+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost",
5252
"description": "Allows you to run a script at the end of a job, once the `main:` action has completed. For example, you can use `post:` to terminate certain processes or remove unneeded files. The application specified with the `using` syntax will execute this file. The `post:` action always runs by default but you can override this using `post-if`.",
5353
"type": "string"
5454
},
@@ -60,12 +60,12 @@
6060
"additionalProperties": false
6161
},
6262
"runs-composite": {
63-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-run-steps-actions",
63+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actions",
6464
"description": "Configures the path to the composite action, and the application used to execute the code.",
6565
"type": "object",
6666
"properties": {
6767
"using": {
68-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-1",
68+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-composite-actions",
6969
"description": "To use a composite run steps action, set this to 'composite'.",
7070
"const": "composite"
7171
},
@@ -169,12 +169,12 @@
169169
"additionalProperties": false
170170
},
171171
"runs-docker": {
172-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-docker-actions",
172+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-docker-container-actions",
173173
"description": "Configures the image used for the Docker action.",
174174
"type": "object",
175175
"properties": {
176176
"using": {
177-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-2",
177+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-docker-container-actions",
178178
"description": "You must set this value to 'docker'.",
179179
"const": "docker"
180180
},
@@ -214,15 +214,15 @@
214214
"type": "string"
215215
},
216216
"pre-entrypoint": {
217-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#pre-entrypoint",
217+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspre-entrypoint",
218218
"description": "Allows you to run a script before the `entrypoint` action begins. For example, you can use `pre-entrypoint:` to run a prerequisite setup script. GitHub Actions uses `docker run` to launch this action, and runs the script inside a new container that uses the same base image. This means that the runtime state is different from the main `entrypoint` container, and any states you require must be accessed in either the workspace, `HOME`, or as a `STATE_` variable. The `pre-entrypoint:` action always runs by default but you can override this using `pre-if`.",
219219
"type": "string"
220220
},
221221
"pre-if": {
222222
"$ref": "#/definitions/pre-if"
223223
},
224224
"post-entrypoint": {
225-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#post-entrypoint",
225+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-entrypoint",
226226
"description": "Allows you to run a cleanup script once the `runs.entrypoint` action has completed. GitHub Actions uses `docker run` to launch this action. Because GitHub Actions runs the script inside a new container using the same base image, the runtime state is different from the main `entrypoint` container. You can access any state you need in either the workspace, `HOME`, or as a `STATE_` variable. The `post-entrypoint:` action always runs by default but you can override this using `post-if`.",
227227
"type": "string"
228228
},
@@ -242,7 +242,7 @@
242242
"additionalProperties": false
243243
},
244244
"outputs": {
245-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs",
245+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions",
246246
"description": "Output parameters allow you to declare data that an action sets. Actions that run later in a workflow can use the output data set in previously run actions. For example, if you had an action that performed the addition of two inputs (x + y = z), the action could output the sum (z) for other actions to use as an input.\nIf you don't declare an output in your action metadata file, you can still set outputs and use them in a workflow.",
247247
"type": "object",
248248
"patternProperties": {
@@ -264,7 +264,7 @@
264264
"additionalProperties": false
265265
},
266266
"outputs-composite": {
267-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-run-steps-actions",
267+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-actions",
268268
"description": "Output parameters allow you to declare data that an action sets. Actions that run later in a workflow can use the output data set in previously run actions. For example, if you had an action that performed the addition of two inputs (x + y = z), the action could output the sum (z) for other actions to use as an input.\nIf you don't declare an output in your action metadata file, you can still set outputs and use them in a workflow.",
269269
"type": "object",
270270
"patternProperties": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9f0c77d226f811a208e6b0c839ae93df6848b35687d8309041504352252dbbf9
1+
d6da49b4fca964c06525a7a39fb9d346ba7a5ee0ed185ce8f74c7a4e91c7b6c7

src/check_jsonschema/builtin_schemas/vendor/woodpecker-ci.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,10 @@
696696
},
697697
"securityContext": {
698698
"$ref": "#/definitions/step_backend_kubernetes_security_context"
699+
},
700+
"runtimeClassName": {
701+
"description": "Read more: https://woodpecker-ci.org/docs/administration/backends/kubernetes#runtimeclassname",
702+
"type": "string"
699703
}
700704
}
701705
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7444b00a35523cab51e91aaed69c20e4e9c402d1ebb684ae04625ac692e12504
1+
f486bb80b1e502f01bf6d718eef1530501fbeca043f768bae5fe50779d437185

0 commit comments

Comments
 (0)