diff --git a/.github/workflows/build-and-test/action.yaml b/.github/workflows/build-and-test/action.yaml index 08e4af9..abb5a60 100644 --- a/.github/workflows/build-and-test/action.yaml +++ b/.github/workflows/build-and-test/action.yaml @@ -82,6 +82,12 @@ runs: chgrp -R idkit /__w/pg_idkit && chmod g+w -R /__w/pg_idkit + # Add directory used by worker as safe dir for git + - name: Add git safe dir + shell: bash + run: | + su idkit -c "git config --global --add safe.directory /__w/pg_idkit/pg_idkit" + # Run cargo build - name: Run cargo test shell: bash