Add support for expires: false to disable expiration in safe-outputs#12311
Merged
Add support for expires: false to disable expiration in safe-outputs#12311
Conversation
…sion and create-issue Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
|
@copilot disable expires on agent persona explorer safe-outputs.create-discussion |
Copilot
AI
changed the title
[WIP] Add support for disabling expiration in create discussions and issues
Add support for expires: false to disable expiration in safe-outputs
Jan 28, 2026
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Contributor
🔍 PR Triage ResultsCategory: feature | Risk: high | Priority: 52/100 Scores Breakdown
📋 Recommended Action: batch_reviewThis PR is part of batch-feature-high (6 PRs) - high-risk feature additions requiring careful review. Should be reviewed in priority order with attention to test coverage and security implications. Batch PRs: #12322, #12321, #12320, #12311, #12130, #12085 Triaged by PR Triage Agent on 2026-01-28T18:16:26Z
|
This was referenced Jan 28, 2026
github-actions bot
added a commit
that referenced
this pull request
Jan 28, 2026
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>
pelikhan
pushed a commit
that referenced
this pull request
Jan 28, 2026
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Safe-outputs for
create-discussionandcreate-issuenow supportexpires: falseto explicitly disable automatic expiration.Changes
falseas validexpiresvalue inmain_workflow_schema.jsonparseExpiresFromConfig()returns-1sentinel forfalse, enabling distinction from unset/invalid values-1to skip default expiration (create-discussion's 7-day default)expiresfield from handler config JSON when value is0(disabled)expires: falsetoagent-persona-explorer.mdworkflow's create-discussion configurationExample
Compiles to:
{ "create_discussion": {"max": 1}, "create_issue": {"expires": 168, "max": 1} }The
expiresfield is completely omitted when disabled, and noGH_AW_*_EXPIRESenvironment variables are set.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.