github nubenetes/awesome-kubernetes v2.16.5
v2.16.5 — Verified Git-Push Merge Fallback for Fork PRs

one hour ago

Fixed

  • Verified Git-Push Merge Fallback for Fork PRs (src/pr_guardian.py, 07.1.pr_guardian.yml, tests/test_pr_guardian.py):
    • Added _git_merge_pr_fallback in src/pr_guardian.py so when GitHub REST PUT /pulls/{n}/merge returns 403 Resource not accessible by integration to GITHUB_TOKEN on external first-time contributor fork PRs, 07.1. PR Guardian AI fetches refs/pull/{n}/head, verifies an exact TOCTOU pr.head.sha match, creates a 2-parent --no-ff merge commit in a hook-disabled temporary git worktree, and pushes HEAD:refs/heads/master cleanly with zero PATs or untrusted code execution.
    • Updated 07.1.pr_guardian.yml checkout to fetch-depth: 0 for merge-base history and prevented fall-through re-probing in evaluate_single_pr's pre-verified fast-path when merge is still pending.

Don't miss a new awesome-kubernetes release

NewReleases is sending notifications on new releases.