Enhance GHAS push protection resolution instructions

Added guidance for resolving blocked pushes due to GitHub Advanced Security.
This commit is contained in:
Noah Omdal 2025-08-25 17:25:25 -07:00 committed by GitHub
parent b5b369b5ff
commit cd88728651
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@ mode: "agent"
tools: ["changes", "codebase", "editFiles", "problems", "terminal"]
description: "Help developers resolve GitHub Advanced Security push protection blocked pushes containing secrets"
---
# GHAS Push Protection: Resolve Blocked Push
Your goal is to help me resolve a blocked push that was prevented by GitHub Advanced Security push protection due to detected secrets in my commits. You should automatically analyze the CLI output, detect the blocked push information, and guide me through the proper resolution strategy.