mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-11-23 11:39:50 +00:00
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 <cgzones@googlemail.com> Acked-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
parent
822ad96c3f
commit
ed4cd8772a
@ -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
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user