Skip to content

Commit a1f3d9e

Browse files
committed
Enhance LFS file pulling with token fallback mechanism
- Implemented a primary attempt to pull LFS files using GIT_PRIVATE_TOKEN. - Added a fallback mechanism to use GITHUB_TOKEN if the initial attempt fails. - Configured git to replace SSH and HTTPS URLs with token-based authentication for the fallback. - Improved error handling to log specific failure messages for both token attempts. This change ensures more robust handling of LFS file retrieval in various authentication scenarios.
1 parent 81ed299 commit a1f3d9e

File tree

4 files changed

+4076
-2730
lines changed

4 files changed

+4076
-2730
lines changed

0 commit comments

Comments
 (0)