roryqi opened a new pull request, #12290:
URL: https://github.com/apache/gravitino/pull/12290

   ### What changes were proposed in this pull request?
   
   This PR backports #12284 to branch-1.3.
   
   It disables local Git automatic maintenance after `actions/checkout@v4` and 
before `dorny/paths-filter` in workflow `changes` jobs.
   
   ### Why are the changes needed?
   
   `dorny/paths-filter` may deepen shallow checkouts while detecting changes. 
On Git 2.54.0 runners, Git automatic maintenance can race with that fetch and 
cause:
   
   ```text
   fatal: shallow file has changed since we read it
   ```
   
   Fix: #12283
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - Confirmed the failing job log with `gh run view`.
   - Ran a structural check to verify every `dorny/paths-filter` step on 
branch-1.3 has `git config --local maintenance.auto false` before it.
   - Ran `git diff --check`.


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