Revert "Remove unnecessary git config --global --add safe.directory" (#45929)

Summary:
This reverts commit 9d9a8d2df6.

## Changelog:

[INTERNAL] - This reverts commit 9d9a8d2df6.

Pull Request resolved: https://github.com/facebook/react-native/pull/45929

Test Plan: CI

Reviewed By: blakef

Differential Revision: D60901502

Pulled By: cortinico

fbshipit-source-id: 2b7a7908a29f031c1f229907aa899a8a6960da4b
This commit is contained in:
Nicola Corti
2024-08-07 06:39:31 -07:00
committed by Facebook GitHub Bot
parent baa366654e
commit 2ca01b4d04
3 changed files with 8 additions and 0 deletions
+3
View File
@@ -10,6 +10,9 @@ inputs:
runs:
using: composite
steps:
- name: Setup git safe folders
shell: bash
run: git config --global --add safe.directory '*'
- name: Setup node.js
uses: ./.github/actions/setup-node
- name: Install node dependencies
@@ -14,6 +14,9 @@ inputs:
runs:
using: composite
steps:
- name: Setup git safe folders
shell: bash
run: git config --global --add safe.directory '*'
- name: Create /tmp/hermes/osx-bin directory
shell: bash
run: mkdir -p /tmp/hermes/osx-bin
+2
View File
@@ -478,6 +478,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup git safe folders
run: git config --global --add safe.directory '*'
- name: Download npm package artifact
uses: actions/download-artifact@v4.1.3
with: