From 7fa73c5a14a65d8efe887d71bed883cc28ffdd8f Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Tue, 3 Feb 2026 11:18:13 +0000 Subject: [PATCH 1/2] Initial plan From 300fe59671ba5ecaabd580f366a8d7ed4306cc31 Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Tue, 3 Feb 2026 11:24:26 +0000 Subject: [PATCH 2/2] Document MCP server configuration analysis: alpine:latest vs alpine:3.20 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/cli/templates/github-agentic-workflows.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/cli/templates/github-agentic-workflows.md b/pkg/cli/templates/github-agentic-workflows.md index 639f71db49..606f354f36 100644 --- a/pkg/cli/templates/github-agentic-workflows.md +++ b/pkg/cli/templates/github-agentic-workflows.md @@ -435,8 +435,13 @@ The YAML frontmatter supports these fields: reviewers: [user1, copilot] # Optional: reviewers (use 'copilot' for bot) draft: true # Optional: create as draft PR (defaults to true) if-no-changes: "warn" # Optional: "warn" (default), "error", or "ignore" + expires: 7 # Optional: auto-close after 7 days (supports: 2h, 7d, 2w, 1m, 1y; min: 2h) + auto-merge: false # Optional: enable auto-merge when checks pass (default: false) target-repo: "owner/repo" # Optional: cross-repository ``` + + **Auto-Expiration**: The `expires` field auto-closes PRs after a time period. Supports integers (days) or relative formats (2h, 7d, 2w, 1m, 1y). Minimum duration: 2 hours. Only for same-repo PRs without target-repo. Generates `agentics-maintenance.yml` workflow. + When using `output.create-pull-request`, the main job does **not** need `contents: write` or `pull-requests: write` permissions since PR creation is handled by a separate job with appropriate permissions. - `create-pull-request-review-comment:` - Safe PR review comment creation on code lines ```yaml