From 9bbb2ef8648d3185cfa6a01204a4e66b2421050a Mon Sep 17 00:00:00 2001 From: Taiki Sugawara Date: Mon, 25 Apr 2022 19:24:26 +0900 Subject: [PATCH] fix git unsafe repository error on ci test --- .github/workflows/ruby.yml | 2 ++ 1 file changed, 2 insertions(+) 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