You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds expires: 1 to the create-issue safe-output configuration in the contribution-check workflow so that report issues auto-close after 1 day. The close-older-issues: true was already present.
Changes
.github/workflows/contribution-check.md: Added expires: 1 under safe-outputs.create-issue
The patch file is available in the agent-artifacts artifact in the workflow run linked above.
To apply the patch locally:
# Download the artifact from the workflow run https://github.com/github/gh-aw/actions/runs/22256273837# (Use GitHub MCP tools if gh CLI is not available)
gh run download 22256273837 -n agent-artifacts -D /tmp/agent-artifacts-22256273837
# The patch file will be at agent-artifacts/tmp/gh-aw/aw-q-contribution-check-expiration.patch after download# Apply the patch
git am /tmp/agent-artifacts-22256273837/aw-q-contribution-check-expiration.patch
Show patch preview (62 of 62 lines)
From 3b8894d9dd6f73400d6e4a3f4fe3d83d416f43c3 Mon Sep 17 00:00:00 2001
From: Copilot <copilot@github.com>
Date: Sat, 21 Feb 2026 11:52:15 +0000
Subject: [PATCH] feat(contribution-check): add 1d expiration to report issues
Adds expires: 1 to the create-issue safe-output configuration so that contribution check report issues auto-close after 1 day. The close-older-issues: true was already in place.
Fixes #17432
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
.github/workflows/contribution-check.lock.yml | 6 +++---
.github/workflows/contribution-check.md | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/contribution-check.lock.yml b/.github/workflows/contribution-check.lock.yml
index eae6d9f..348f92a 100644
--- a/.github/workflows/contribution-check.lock.yml+++ b/.github/workflows/contribution-check.lock.yml@@ -22,7 +22,7 @@
# For more information: https://github.github.com/gh-aw/introduction/overview/
#
#
-# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"21bdcbe025a2db4071f822ed2083f0b7eccbebcfea6ed4d62d2db6b9170eab44"}+# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"4de9281fdf89dba8197d91de6339b21a8b01ddb1645d17de1f09b3a70fc4cf53"}
name: "Contribution Check"
"on":
@@ -393,7 +393,7 @@ jobs:
mkdir -p /tmp/gh-aw/safeoutputs
mkdir -p /tmp/gh-aw/mcp-logs/safeoutputs
cat > /opt/gh-aw/safeoutputs/config.json << 'GH_AW_SAFE_OUTPUTS_CONFIG_EOF'
- {"add_comment":{"max":10,"target":"*","target-repo":"${{ vars.TARGET_REPOSITORY }}"},"add_labels":{"allowed":["spam","needs-work","outdated","lgtm"],"max":4,"target":"*","target-repo":"${{ vars.TARGET_REPOSITORY }}"},"create_issue":{"max":1},"missing_data":{},"missing_tool":{},"noop":{"max":1}}+ {"add_comment":{"max":10,"target":"*","target-repo":"${{ vars.TARGET_REPOSITORY }}"},"add_labels":{"allowed":["spam","needs-work","outdated","lgtm"],"max":4,"target":"*","target-repo"
... (truncated)
Adds
expires: 1to thecreate-issuesafe-output configuration in the contribution-check workflow so that report issues auto-close after 1 day. Theclose-older-issues: truewas already present.Changes
.github/workflows/contribution-check.md: Addedexpires: 1undersafe-outputs.create-issue.github/workflows/contribution-check.lock.yml: RecompiledValidation
✅
contribution-check.mdcompiled successfully with no errors or warnings.Closes #17432Note
This was originally intended as a pull request, but the git push operation failed.
Workflow Run: View run details and download patch artifact
The patch file is available in the
agent-artifactsartifact in the workflow run linked above.To apply the patch locally:
Show patch preview (62 of 62 lines)