diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index aeca9679cbd4..d98692e6d94a 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -21,9 +21,13 @@ jobs: container: qmkfm/qmk_cli steps: + - name: Disable safe.directory check + run : git config --global --add safe.directory '*' + - uses: actions/checkout@v3 with: submodules: recursive + - name: Install dependencies run: pip3 install -r requirements-dev.txt - name: Run tests diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index de952e63f6bf..78aaae8a0eb3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -22,6 +22,9 @@ jobs: container: qmkfm/qmk_cli steps: + - name: Disable safe.directory check + run : git config --global --add safe.directory '*' + - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/format_push.yml b/.github/workflows/format_push.yml index 5469ab0faa1f..26e9f4edfb02 100644 --- a/.github/workflows/format_push.yml +++ b/.github/workflows/format_push.yml @@ -16,6 +16,9 @@ jobs: container: qmkfm/qmk_cli steps: + - name: Disable safe.directory check + run : git config --global --add safe.directory '*' + - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 535c082af58a..6b4e266bdea4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,6 +15,9 @@ jobs: container: qmkfm/qmk_cli steps: + - name: Disable safe.directory check + run : git config --global --add safe.directory '*' + - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml index ae25bc095ee9..f301000d55e9 100644 --- a/.github/workflows/regen.yml +++ b/.github/workflows/regen.yml @@ -16,6 +16,9 @@ jobs: container: qmkfm/qmk_cli steps: + - name: Disable safe.directory check + run : git config --global --add safe.directory '*' + - uses: actions/checkout@v3 - name: Run qmk generators diff --git a/.github/workflows/regen_push.yml b/.github/workflows/regen_push.yml index 37b26d980c81..c56bc48a690c 100644 --- a/.github/workflows/regen_push.yml +++ b/.github/workflows/regen_push.yml @@ -16,6 +16,9 @@ jobs: container: qmkfm/qmk_cli steps: + - name: Disable safe.directory check + run : git config --global --add safe.directory '*' + - uses: actions/checkout@v3 - name: Run qmk generators