summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-28 20:27:11 +0000
committerGitHub <noreply@github.com>2023-02-28 20:27:11 +0000
commit53727062db036596eaec9e7fff6d1d9e112c2206 (patch)
treeed0bb11b9cfd419cddbcf7b27a33cf40dc492320
parentd35cdcc93394bbfd5a5af8fb21c0383d8c200afc (diff)
Disable safe.directory check (#19970)
-rw-r--r--.github/workflows/cli.yml4
-rw-r--r--.github/workflows/format.yml3
-rw-r--r--.github/workflows/format_push.yml3
-rw-r--r--.github/workflows/lint.yml3
-rw-r--r--.github/workflows/regen.yml3
-rw-r--r--.github/workflows/regen_push.yml3
6 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml
index aeca9679cb..d98692e6d9 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 de952e63f6..78aaae8a0e 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 5469ab0faa..26e9f4edfb 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 535c082af5..6b4e266bde 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 ae25bc095e..f301000d55 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 37b26d980c..c56bc48a69 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