Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/aw/schemas/agentic-workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -3086,8 +3086,8 @@
},
{
"type": "string",
"pattern": "^[0-9]+[hHdDwWmMyY]$",
"description": "Relative time (e.g., '20h', '7d', '2w', '1m', '1y')"
"pattern": "^[0-9]+[dDwWmMyY]$",
"description": "Relative time (e.g., '7d', '2w', '1m', '1y')"
}
],
"description": "Time until the issue expires and should be automatically closed. Supports integer (days) or relative time format. When set, a maintenance workflow will be generated."
Expand Down Expand Up @@ -3248,11 +3248,11 @@
},
{
"type": "string",
"pattern": "^[0-9]+[hHdDwWmMyY]$",
"description": "Relative time (e.g., '20h', '7d', '2w', '1m', '1y')"
"pattern": "^[0-9]+[dDwWmMyY]$",
"description": "Relative time (e.g., '7d', '2w', '1m', '1y')"
}
],
"description": "Time until the discussion expires and should be automatically closed. Supports integer (days) or relative time format like '20h' (20 hours), '7d' (7 days), '2w' (2 weeks), '1m' (1 month), '1y' (1 year). When set, a maintenance workflow will be generated."
"description": "Time until the discussion expires and should be automatically closed. Supports integer (days) or relative time format like '7d' (7 days), '2w' (2 weeks), '1m' (1 month), '1y' (1 year). When set, a maintenance workflow will be generated."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3634,8 +3634,8 @@
},
{
"type": "string",
"pattern": "^[0-9]+[hHdDwWmMyY]$",
"description": "Relative time (e.g., '20h', '7d', '2w', '1m', '1y')"
"pattern": "^[0-9]+[dDwWmMyY]$",
"description": "Relative time (e.g., '7d', '2w', '1m', '1y')"
}
],
"description": "Time until the pull request expires and should be automatically closed (only for same-repo PRs without target-repo). Supports integer (days) or relative time format."
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/slide-deck-maintainer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/slide-deck-maintainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tools:
safe-outputs:
create-pull-request:
title-prefix: "[slides] "
expires: 20h
expires: 1d
network:
allowed:
- node
Expand Down
11 changes: 5 additions & 6 deletions docs/src/content/docs/reference/frontmatter-full.md
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,7 @@ safe-outputs:
# Option 1: Number of days until expires
expires: 1

# Option 2: Relative time (e.g., '20h', '7d', '2w', '1m', '1y')
# Option 2: Relative time (e.g., '7d', '2w', '1m', '1y')
expires: "example-value"

# Option 2: Enable issue creation with default configuration
Expand Down Expand Up @@ -1872,16 +1872,15 @@ safe-outputs:
close-older-discussions: true

# Time until the discussion expires and should be automatically closed. Supports
# integer (days) or relative time format like '20h' (20 hours), '7d' (7 days),
# '2w' (2 weeks), '1m' (1 month), '1y' (1 year). When set, a maintenance workflow
# will be generated.
# integer (days) or relative time format like '7d' (7 days), '2w' (2 weeks), '1m'
# (1 month), '1y' (1 year). When set, a maintenance workflow will be generated.
# (optional)
# This field supports multiple formats (oneOf):

# Option 1: Number of days until expires
expires: 1

# Option 2: Relative time (e.g., '20h', '7d', '2w', '1m', '1y')
# Option 2: Relative time (e.g., '7d', '2w', '1m', '1y')
expires: "example-value"

# Option 2: Enable discussion creation with default configuration
Expand Down Expand Up @@ -2171,7 +2170,7 @@ safe-outputs:
# Option 1: Number of days until expires
expires: 1

# Option 2: Relative time (e.g., '20h', '7d', '2w', '1m', '1y')
# Option 2: Relative time (e.g., '7d', '2w', '1m', '1y')
expires: "example-value"

# Option 2: Enable pull request creation with default configuration
Expand Down
14 changes: 7 additions & 7 deletions pkg/parser/schemas/main_workflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3086,8 +3086,8 @@
},
{
"type": "string",
"pattern": "^[0-9]+[hHdDwWmMyY]$",
"description": "Relative time (e.g., '20h', '7d', '2w', '1m', '1y')"
"pattern": "^[0-9]+[dDwWmMyY]$",
"description": "Relative time (e.g., '7d', '2w', '1m', '1y')"
}
],
"description": "Time until the issue expires and should be automatically closed. Supports integer (days) or relative time format. When set, a maintenance workflow will be generated."
Expand Down Expand Up @@ -3248,11 +3248,11 @@
},
{
"type": "string",
"pattern": "^[0-9]+[hHdDwWmMyY]$",
"description": "Relative time (e.g., '20h', '7d', '2w', '1m', '1y')"
"pattern": "^[0-9]+[dDwWmMyY]$",
"description": "Relative time (e.g., '7d', '2w', '1m', '1y')"
}
],
"description": "Time until the discussion expires and should be automatically closed. Supports integer (days) or relative time format like '20h' (20 hours), '7d' (7 days), '2w' (2 weeks), '1m' (1 month), '1y' (1 year). When set, a maintenance workflow will be generated."
"description": "Time until the discussion expires and should be automatically closed. Supports integer (days) or relative time format like '7d' (7 days), '2w' (2 weeks), '1m' (1 month), '1y' (1 year). When set, a maintenance workflow will be generated."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3634,8 +3634,8 @@
},
{
"type": "string",
"pattern": "^[0-9]+[hHdDwWmMyY]$",
"description": "Relative time (e.g., '20h', '7d', '2w', '1m', '1y')"
"pattern": "^[0-9]+[dDwWmMyY]$",
"description": "Relative time (e.g., '7d', '2w', '1m', '1y')"
}
],
"description": "Time until the pull request expires and should be automatically closed (only for same-repo PRs without target-repo). Supports integer (days) or relative time format."
Expand Down