Skip to content
Merged
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
4 changes: 4 additions & 0 deletions docs/src/content/docs/reference/frontmatter-full.md
Original file line number Diff line number Diff line change
Expand Up @@ -3167,6 +3167,10 @@ safe-outputs:
# (optional)
staged: true

# Reason for closing the issue (default: completed)
# (optional)
state-reason: "completed"

# Option 2: Enable issue closing with default configuration
close-issue: null

Expand Down
6 changes: 6 additions & 0 deletions pkg/parser/schemas/main_workflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5468,6 +5468,12 @@
"type": "boolean",
"description": "If true, emit step summary messages instead of making GitHub API calls for this specific output type (preview mode)",
"examples": [true, false]
},
"state-reason": {
"type": "string",
"enum": ["completed", "not_planned", "duplicate"],
"default": "completed",
"description": "Reason for closing the issue (default: completed)"
}
},
"additionalProperties": false,
Expand Down
Loading