-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Remote "origin" does not support the Git LFS locking API
#485
Comments
Hi @kdeldycke and thanks for the report. I do not fully understand the issue because github is supporting git lfs (at least the public one, not sure if every enterprise server is supporting git lfs) Remark - name: Setup Git
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com" possibly removing git config --global user.email "${GIT_USER_EMAIL}"
git config --global user.name "${GIT_USER_NAME}"
git config --global pull.rebase false
git config --global --add safe.directory /github/workspace
git lfs install |
Remark: |
@kdeldycke with #498 the default behavior is to not use git lfs. |
I can confirm that I am no longer affected by these bugs with 2.0.0 as the recent changes are deactivating LFS by default. Thanks @AndreasAugustin for the quick bug fix! |
Is there an existing issue for this?
Describe the bug
While searching for a workaround for #467, I was unable to continue working on the branch produced by
actions-template-sync
because of LFS.Expected Behavior
I expect LFS to be not be activated by default for repository not configured for it.
Current Behavior
The following job:
Ends up with the following error at the last
git push
step:Log of the workflow run is available at: https://github.com/kdeldycke/awesome-billing/actions/runs/8123005442/job/22202990790
Steps To Reproduce
No response
Possible Solution
A quick fix in my case was to hack the local git configuration with a dedicated step:
Additional Information/Context
LFS support was introduced in:
Template sync version Version
1.8.1
The text was updated successfully, but these errors were encountered: