summaryrefslogtreecommitdiffstats
path: root/.github/workflows/format_push.yml
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2023-04-26 16:32:15 +0800
committerlokher <lokher@gmail.com>2023-04-26 16:32:15 +0800
commite4f4ceaf3f2e3d25fb282273a81f9b58790fc427 (patch)
treec0a257eab0ffe5238fdf2c04882e8ee1fe8fc46e /.github/workflows/format_push.yml
parent103badc87cb50db1ff3851c84331e86ba78fb681 (diff)
merge upstream 713427c
Diffstat (limited to '.github/workflows/format_push.yml')
-rw-r--r--.github/workflows/format_push.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/format_push.yml b/.github/workflows/format_push.yml
index 910bba9a4e..26e9f4edfb 100644
--- a/.github/workflows/format_push.yml
+++ b/.github/workflows/format_push.yml
@@ -1,5 +1,8 @@
name: Lint Format
+permissions:
+ contents: read
+
on:
push:
branches:
@@ -13,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