Skip to content

Commit

Permalink
Bugfix: mark current directory safe for git
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 authored Nov 30, 2023
1 parent 81f341e commit c5eaa41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# - run: cd binder && ./execute_notebooks.sh
# adapted from https://unix.stackexchange.com/a/545630
- run: find -type f -name "*.pdf" -exec bash -c 'gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH -dQUIET -sOutputFile="new.pdf" "{}"; rm "{}"; mv "new.pdf" "{}";' {} \;
- run: git config --global --add safe.directory /
- run: git config --global --add safe.directory .
- run: git init
- uses: fregante/setup-git-user@v1
- run: git commit --allow-empty -m "Initial commit"
Expand Down

0 comments on commit c5eaa41

Please sign in to comment.