File tree Expand file tree Collapse file tree 2 files changed +27
-12
lines changed
src/check_jsonschema/builtin_schemas/custom Expand file tree Collapse file tree 2 files changed +27
-12
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ Unreleased
11
11
.. vendor-insert-here
12
12
13
13
- Update vendored schemas (2023-05-30)
14
+ - The schema for enforcing timeout-minutes on GitHub Actions jobs has been
15
+ updated to allow for workflow call jobs (which cannot have a timeout)
14
16
15
17
0.23.0
16
18
------
Original file line number Diff line number Diff line change 8
8
"patternProperties" : {
9
9
"^[_a-zA-Z][a-zA-Z0-9_-]*$" : {
10
10
"$comment" : " https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_id" ,
11
- "type" : " object" ,
12
- "properties" : {
13
- "timeout-minutes" : {
14
- "$comment" : " https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes" ,
15
- "description" : " The maximum number of minutes to let a workflow run before GitHub automatically cancels it. Default: 360" ,
16
- "type" : " number" ,
17
- "default" : 360
11
+ "oneOf" : [
12
+ {
13
+ "type" : " object" ,
14
+ "properties" : {
15
+ "timeout-minutes" : {
16
+ "$comment" : " https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes" ,
17
+ "description" : " The maximum number of minutes to let a workflow run before GitHub automatically cancels it. Default: 360" ,
18
+ "type" : " number" ,
19
+ "default" : 360
20
+ }
21
+ },
22
+ "required" : [
23
+ " runs-on" ,
24
+ " timeout-minutes"
25
+ ],
26
+ "additionalProperties" : true
27
+ },
28
+ {
29
+ "$comment" : " https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#calling-a-reusable-workflow" ,
30
+ "type" : " object" ,
31
+ "required" : [
32
+ " uses"
33
+ ],
34
+ "additionalProperties" : true
18
35
}
19
- },
20
- "required" : [
21
- " timeout-minutes"
22
- ],
23
- "additionalProperties" : true
36
+ ]
24
37
}
25
38
}
26
39
}
You can’t perform that action at this time.
0 commit comments