diff --git a/action.yml b/action.yml index 3c86f0fe9c..3605b3a13c 100644 --- a/action.yml +++ b/action.yml @@ -181,7 +181,8 @@ runs: if: ${{ inputs.disable_safe_directory != 'true' }} shell: bash run: | - git config --global --add safe.directory ${{ github.workspace }} + git config --global --add safe.directory "${{ github.workspace }}" + git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Set fork shell: bash