Skip to content

Commit a0e2a19

Browse files
authored
Add maximum: 360 to timeout-minutes schema to enforce GitHub Actions runner limit (#24931)
1 parent 11fdef3 commit a0e2a19

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pkg/parser/schemas/main_workflow_schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2542,11 +2542,12 @@
25422542
"examples": ["self-hosted", "ubuntu-latest", "ubuntu-22.04"]
25432543
},
25442544
"timeout-minutes": {
2545-
"description": "Workflow timeout in minutes (GitHub Actions standard field). Defaults to 20 minutes for agentic workflows. Has sensible defaults and can typically be omitted. Supports GitHub Actions expressions (e.g. '${{ inputs.timeout }}') for reusable workflow_call workflows.",
2545+
"description": "Workflow timeout in minutes (GitHub Actions standard field). Defaults to 20 minutes for agentic workflows. Has sensible defaults and can typically be omitted. Maximum is 360 minutes (6 hours), matching the GitHub-hosted runner limit enforced at schema validation time. Supports GitHub Actions expressions (e.g. '${{ inputs.timeout }}') for reusable workflow_call workflows.",
25462546
"oneOf": [
25472547
{
25482548
"type": "integer",
25492549
"minimum": 1,
2550+
"maximum": 360,
25502551
"examples": [5, 10, 30]
25512552
},
25522553
{

0 commit comments

Comments
 (0)