Skip to content

[docs] Update safe-outputs documentation for expires: false feature#12346

Merged
pelikhan merged 1 commit intomainfrom
docs/update-expires-false-documentation-24da454f9b21bdd7
Jan 28, 2026
Merged

[docs] Update safe-outputs documentation for expires: false feature#12346
pelikhan merged 1 commit intomainfrom
docs/update-expires-false-documentation-24da454f9b21bdd7

Conversation

@github-actions
Copy link
Contributor

Documentation Updates - 2026-01-28

This PR updates the safe-outputs documentation based on the feature merged in PR #12311.

Features Documented

Changes Made

  • Updated docs/src/content/docs/reference/safe-outputs.md to document the new expires: false option
    • Added information about expires: false in the Auto-Expiration section for create-issue
    • Updated the create-issue configuration example to show that expires can be set to 7 or false
    • Updated the Discussion Creation section to document expires: false support
    • Updated the create-discussion configuration example to show that expires can be set to 3 or false

Merged PRs Referenced

Summary

The expires field for create-issue and create-discussion safe-outputs now supports:

  • Integers (days): expires: 7 auto-closes after 7 days
  • Relative formats: expires: 2h, expires: 7d, expires: 2w, expires: 1m, expires: 1y
  • New: Boolean false: expires: false explicitly disables auto-expiration

This is particularly useful when a workflow inherits default expiration settings but needs to disable expiration for specific safe-outputs.

🤖 Generated with [Claude Code]((redacted)

AI generated by Daily Documentation Updater

Add documentation for the new expires: false feature added in PR #12311.
This feature allows explicitly disabling auto-expiration for create-issue
and create-discussion safe-outputs.

Changes:
- Update Auto-Expiration section to mention expires: false option
- Update create-issue and create-discussion examples
- Clarify that expires supports integers, relative formats, or false

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Jan 28, 2026
@pelikhan pelikhan merged commit e607efe into main Jan 28, 2026
@pelikhan pelikhan deleted the docs/update-expires-false-documentation-24da454f9b21bdd7 branch January 28, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant