From 53727062db036596eaec9e7fff6d1d9e112c2206 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 28 Feb 2023 20:27:11 +0000 Subject: [PATCH] Disable safe.directory check (#19970) --- .github/workflows/cli.yml | 4 ++++ .github/workflows/format.yml | 3 +++ .github/workflows/format_push.yml | 3 +++ .github/workflows/lint.yml | 3 +++ .github/workflows/regen.yml | 3 +++ .github/workflows/regen_push.yml | 3 +++ 6 files changed, 19 insertions(+) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index aeca9679cbd..d98692e6d94 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 de952e63f6b..78aaae8a0eb 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 5469ab0faa1..26e9f4edfb0 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 535c082af58..6b4e266bdea 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 ae25bc095ee..f301000d55e 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 37b26d980c8..c56bc48a690 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