github-actions[bot] opened a new pull request, #77109:
URL: https://github.com/apache/airflow/pull/77109

   * Preserve SSH protocol for fork remotes in breeze ci audit
   
   In breeze ci audit (AIP-120), when --fix runs to remediate a missing or 
misconfigured origin remote, it hardcoded HTTPS URLs. For contributors who 
cloned via SSH, this rewrote their fork remote to HTTPS, breaking git push with 
SSH keys.
   
   Inspect existing remotes to detect SSH schemes (including custom host 
aliases from ~/.ssh/config) and preserve matching SSH URLs for origin, while 
retaining HTTPS for HTTPS clones.
   
   * Take the fork URL's protocol only from the clone's own remotes
   
   An HTTPS origin, apache/airflow or upstream remote was skipped, so the
   first SSH remote of any repository decided the protocol, and an SSH alias
   of an unrelated remote could select another account's key that cannot
   push to the fork.
   
   Generated-by: Claude Opus 5
   
   ---------
   (cherry picked from commit 759083ee0237e07555190713e9dac48a38dbd255)
   
   Co-authored-by: Ayush Meel <[email protected]>
   Co-authored-by: Jarek Potiuk <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [PR] [v3-4-test] Preserve SSH... github-actions[bot] (via GitHub) via commits

Reply via email to