From 462048fb1239d14637e5d68c87e9019562689283 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Mon, 9 Jan 2023 17:26:57 +0000 Subject: [PATCH] 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. --- .github/workflows/ct-commitlint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ct-commitlint.yml b/.github/workflows/ct-commitlint.yml index f7d185b..ebee6c2 100644 --- a/.github/workflows/ct-commitlint.yml +++ b/.github/workflows/ct-commitlint.yml @@ -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