]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: fix rust check by fixing git directory permissions
authorJason Ish <jason.ish@oisf.net>
Thu, 11 May 2023 16:06:41 +0000 (10:06 -0600)
committerVictor Julien <vjulien@oisf.net>
Fri, 12 May 2023 04:40:18 +0000 (06:40 +0200)
Due to the update to AlmaLinux 9.2, a new version of git with stricter
permissions was introduced.  Mark the directory as safe as we have
done in other builds with newer versions of it.

.github/workflows/rust.yml

index 96ad984b3bc62a7141340bc4e25f1ea69c665587..2cf8f4c8049e7fa488c447b8216376f0ba25ab24 100644 (file)
@@ -66,6 +66,7 @@ jobs:
       - name: Install cbindgen
         run: cargo install --debug cbindgen
       - uses: actions/checkout@v3.3.0
+      - run: git config --global --add safe.directory /__w/suricata/suricata
       - run: ./scripts/bundle.sh
       - run: ./autogen.sh
       - run: ./configure