mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 20:36:03 +02:00
fix broken CI (see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html)
try this WIP
This commit is contained in:
parent
97ced9e14f
commit
f98b2edae5
6 changed files with 11 additions and 4 deletions
|
@ -11,6 +11,11 @@ git init
|
|||
|
||||
git config user.email "CI@example.com"
|
||||
git config user.name "CI"
|
||||
# see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html
|
||||
# NOTE: I don't think this actually works if it's only applied to the repo.
|
||||
# On CI we set the global setting, but given it's a security concern I don't want
|
||||
# people to do that for their locals.
|
||||
git config protocol.file.allow always
|
||||
|
||||
echo test1 > myfile1
|
||||
git add .
|
||||
|
|
|
@ -26,5 +26,5 @@ cd ..
|
|||
git clone --bare ./repo other_repo
|
||||
cd repo
|
||||
|
||||
git submodule add ../other_repo
|
||||
git -c protocol.file.allow=always submodule add ../other_repo
|
||||
git commit -am "add submodule"
|
||||
|
|
|
@ -23,5 +23,5 @@ cd ..
|
|||
git clone --bare ./repo other_repo
|
||||
cd repo
|
||||
|
||||
git submodule add ../other_repo
|
||||
git -c protocol.file.allow=always submodule add ../other_repo
|
||||
git commit -am "add submodule"
|
||||
|
|
|
@ -23,5 +23,5 @@ cd ..
|
|||
git clone --bare ./repo other_repo
|
||||
cd repo
|
||||
|
||||
git submodule add ../other_repo
|
||||
git -c protocol.file.allow=always submodule add ../other_repo
|
||||
git commit -am "add submodule"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue