Skip to content

Commit

Permalink
ci: declare git repository a safe directory
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
cgzones authored and bachradsusi committed May 18, 2022
1 parent 822ad96 commit ed4cd87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/fedora-test-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

#
Expand Down

0 comments on commit ed4cd87

Please sign in to comment.