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
To allow larger patches, increase max-patch-size in your workflow's front matter (value in KB):
safe-outputs:
create-pull-request:
max-patch-size: 8192# Example: double the default limit (in KB, default: 4096)
📥 Download the oversized patch to inspect or apply manually
# Download the patch artifact from the workflow run
gh run download 30776690621 -n agent -D /tmp/agent-30776690621
# List available patches
ls /tmp/agent-30776690621/*.patch
# Inspect the patch
cat /tmp/agent-30776690621/YOUR_PATCH_FILE.patch | head -100
# Optionally apply the patch manually on a new branch
git checkout -b aw/manual-apply
git am --3way /tmp/agent-30776690621/YOUR_PATCH_FILE.patch
git push origin aw/manual-apply
gh pr create --head aw/manual-apply
Assign this issue to an agent to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/github/gh-aw/actions/runs/30776690621
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
Workflow Failure
Workflow: Code Scanning Fixer
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/30776690621
📦 Patch Size Exceeded: The code push was rejected because the generated patch is too large.
Errors:
create_pull_request: Patch size (41422 KB) exceeds maximum allowed size (4096 KB)To allow larger patches, increase
max-patch-sizein your workflow's front matter (value in KB):📥 Download the oversized patch to inspect or apply manually
The patch artifact is available at: View run and download artifacts
Action Required
Assign this issue to an agent to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the
agentic-workflowsprompt.agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.mddebug the agentic workflow code-scanning-fixer failure in https://github.com/github/gh-aw/actions/runs/30776690621Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter: