ci: fix check kernel patches job
[openwrt/openwrt.git] / .github / workflows / check-kernel-patches.yml
index bed70dbd19c5736167af62ce912f53a8acf31c10..4ad35e625075e5abc6bd5a9be1fcac08ece294f8 100644 (file)
@@ -85,6 +85,10 @@ jobs:
         run: |
           chown -R buildbot:buildbot openwrt
 
+      - name: Opt-out from Git stricter repository ownership checks
+        run: |
+          git config --global --add safe.directory '*'
+
       - name: Initialization environment
         run: |
           TARGET=$(echo ${{ inputs.target }} | cut -d "/" -f 1)