ci: declare git repository a safe directory
PATCH 1/1 ci: declare git repository a safe directory
Since version 2.35.2, due to CVE-2022-24765, git refuses to operate by default on a repository owned by a different user.
Signed-off-by Christian Göttsche <[email protected]>
---
test run: https://github.com/cgzones/selinux/actions/runs/2337320823
--- scripts/ci/fedora-test-runner.sh | 1 + 1 file changed, 1 insertion(+)
scripts/ci/fedora-test-runner.sh +1 -0
@@ -70,6 +70,7 @@ dnf install -y \ cd "$SELINUX_DIR" # Show HEAD commit for sanity checking +git config --global --add safe.directory "$SELINUX_DIR" git log --oneline -1 #
Signature · 1 line
2.36.1
Quoted 4 lines · Christian Göttsche
Since version 2.35.2, due to CVE-2022-24765, git refuses to operate by default on a repository owned by a different user.
Signed-off-by Christian Göttsche <[email protected]>
Acked-by Petr Lautrbach <[email protected]>
Quoted 20 lines
---
test run: https://github.com/cgzones/selinux/actions/runs/2337320823--- scripts/ci/fedora-test-runner.sh | 1 + 1 file changed, 1 insertion(+)scripts/ci/fedora-test-runner.sh +1
-0@@ -70,6 +70,7 @@ dnf install -y \ cd "$SELINUX_DIR" # Show HEAD commit for sanity checking +git config --global --add safe.directory "$SELINUX_DIR" git log --oneline -1 #Signature · 1 line
2.36.1
Quoted 8 lines · Petr Lautrbach
Quoted 4 lines · Christian Göttsche
Since version 2.35.2, due to CVE-2022-24765, git refuses to operate by default on a repository owned by a different user.
Signed-off-by Christian Göttsche <[email protected]>Acked-by Petr Lautrbach <[email protected]>
Merged.
Quoted 20 lines
Quoted 20 lines
---
test run: https://github.com/cgzones/selinux/actions/runs/2337320823--- scripts/ci/fedora-test-runner.sh | 1 + 1 file changed, 1 insertion(+)scripts/ci/fedora-test-runner.sh +1
-0@@ -70,6 +70,7 @@ dnf install -y \ cd "$SELINUX_DIR" # Show HEAD commit for sanity checking +git config --global --add safe.directory "$SELINUX_DIR" git log --oneline -1 #Signature · 1 line
2.36.1