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
The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.
Create the pull request manually
# Download the patch from the workflow run
gh run download 29262450492 -n agent -D /tmp/agent-29262450492
# Create a new branch
git checkout -b docs/unbloat-formatting-85472c764a65b0a2 main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-29262450492/aw-docs-unbloat-formatting.patch
# Push the branch and create the pull request
git push origin docs/unbloat-formatting-85472c764a65b0a2
gh pr create --title '[docs] docs: condense formatting.md shared fragment' --base main --head docs/unbloat-formatting-85472c764a65b0a2 --repo droosma/WitnessSharp
Cleaned up
.github/workflows/shared/formatting.mdto remove bloat.File improved:
.github/workflows/shared/formatting.mdBloat removed:
## Detailed Analysis,### Section 1,### Section 2,[Content]placeholders) that added noise without illustrating the core patternReduction: 38 → 28 lines (~26% reduction, 14 lines removed, 4 added)
Warning
Protected Files — Push Permission Denied
This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.
Protected files
The push was rejected because GitHub Actions does not have
workflowspermission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.Create the pull request manually