ci: add github action work dir to git safe dir

This commit is contained in:
Zaiming (Stone) Shi 2022-05-25 12:04:18 +02:00
parent f543406a4c
commit 603e1bb3b9
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ jobs:
- uses: actions/checkout@v1
- name: prepare
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
if make emqx-ee --dry-run > /dev/null 2>&1; then
echo "https://ci%40emqx.io:${{ secrets.CI_GIT_TOKEN }}@github.com" > $HOME/.git-credentials
git config --global credential.helper store