ci: make the current directory safe for git

This is also done in actions/checkout but for some reason dose not work.
I think its got something to do with us using a container for the
action.
This commit is contained in:
Ade Attwood 2023-01-09 17:26:57 +00:00
parent 5faed672ff
commit 462048fb12

View file

@ -14,5 +14,8 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: {fetch-depth: 1000} with: {fetch-depth: 1000}
- name: Git safe.directory
run: git config --global --add safe.directory $PWD
- name: Lint commits - name: Lint commits
run: conventional-tools commitlint -l1 run: conventional-tools commitlint -l1