Skip to content

Commit

Permalink
fix: add git safe dir
Browse files Browse the repository at this point in the history
Signed-off-by: vados <[email protected]>
  • Loading branch information
t3hmrman committed Dec 11, 2023
1 parent 4e99fbf commit b10d9a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b10d9a4

Please sign in to comment.