diff options
| author | Linus Färnstrand <faern@faern.net> | 2023-02-09 11:41:45 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2023-03-03 10:20:56 +0100 |
| commit | a91426f8842a0fff0fb6c4a1eb0e16df2c240249 (patch) | |
| tree | 91378e3623569afacedb6e9eef5733f971631f3f | |
| parent | 19b726dc1cda2238bb8b19f6542f1dc6e1feb24e (diff) | |
| download | mullvadvpn-a91426f8842a0fff0fb6c4a1eb0e16df2c240249.tar.xz mullvadvpn-a91426f8842a0fff0fb6c4a1eb0e16df2c240249.zip | |
Ignore git warnings about safe directories (github actions limitation)
| -rw-r--r-- | .github/workflows/daemon.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/rust-unused-dependencies.yml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml index 2300169679..6e054dbd0d 100644 --- a/.github/workflows/daemon.yml +++ b/.github/workflows/daemon.yml @@ -69,7 +69,9 @@ jobs: uses: actions/checkout@v3 - name: Checkout binaries submodule - run: git submodule update --init --depth=1 dist-assets/binaries + run: | + git config --global --add safe.directory '*' + git submodule update --init --depth=1 dist-assets/binaries # The container image already has rustup and Rust, but only the stable toolchain - name: Install Rust toolchain diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml index e1600ea340..e8d708667f 100644 --- a/.github/workflows/rust-unused-dependencies.yml +++ b/.github/workflows/rust-unused-dependencies.yml @@ -41,7 +41,9 @@ jobs: uses: actions/checkout@v3 - name: Checkout binaries submodule - run: git submodule update --init --depth=1 dist-assets/binaries + run: | + git config --global --add safe.directory '*' + git submodule update --init --depth=1 dist-assets/binaries - name: Install nightly Rust toolchain run: rustup default $RUST_NIGHTLY_TOOLCHAIN |
