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:
parent
5faed672ff
commit
462048fb12
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ct-commitlint.yml
vendored
3
.github/workflows/ct-commitlint.yml
vendored
|
|
@ -14,5 +14,8 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with: {fetch-depth: 1000}
|
||||
|
||||
- name: Git safe.directory
|
||||
run: git config --global --add safe.directory $PWD
|
||||
|
||||
- name: Lint commits
|
||||
run: conventional-tools commitlint -l1
|
||||
|
|
|
|||
Loading…
Reference in a new issue