kaxil opened a new pull request, #1453:
URL: https://github.com/apache/airflow-site/pull/1453

   All main branch builds have been failing since #1450 upgraded 
`actions/checkout` from v4 to v6. The `🚀 Add commit to publish branch and 
deploy it` step fails with:
   
   ```
   fatal: could not read Username for 'https://github.com': No such device or 
address
   ```
   
   **Root cause:** `actions/checkout` v6 changed `persist-credentials` to store 
tokens in a separate file under `$RUNNER_TEMP`, referenced via git `includeIf 
"gitdir:..."` conditions ([v6.0.0 
changelog](https://github.com/actions/checkout/releases/tag/v6.0.0)). This 
workflow symlinks the repo to `/mnt/airflow-site` for disk space reasons, so 
the physical path no longer matches the `includeIf` condition and git can't 
find credentials when pushing.
   
   In v4, credentials were written directly into `dist/.git/config` as an 
`http.extraheader`, so they traveled with the repo regardless of path.
   
   **Fix:** Explicitly set the remote URL with the `GITHUB_TOKEN` before `git 
push`, bypassing the `includeIf` credential mechanism entirely.


-- 
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]

Reply via email to