Skip to content

Commit 9526f96

Browse files
committed
Make sure we're in the repo folder when running git diff. Additionally, make sure git knows this directory is safe
1 parent 853c9ca commit 9526f96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/generate-bindings.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373
7474
- name: Submit PR
7575
run: |
76-
pwd
76+
cd $GITHUB_WORKSPACE
77+
git config --global --add safe.directory $GITHUB_WORKSPACE
7778
if git diff --exit-code; then
7879
exit 0
7980
fi

0 commit comments

Comments
 (0)