diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index f54ee30ac..6fa318bb7 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -36,6 +36,8 @@ jobs: image: rubylang/ruby:${{ matrix.container_tag }} steps: - uses: actions/checkout@v3 + - name: Set working directory as safe + run: /usr/bin/git config --global --add safe.directory $(pwd) - name: Install dependencies run: | apt-get update