Explorar o código

Merge pull request #974 from truenas/mrehan/fix-catalog.json-push

NAS-120131 / 23.10 / Fix catalog.json github action
M. Rehan %!s(int64=2) %!d(string=hai) anos
pai
achega
b679dd8adf
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      .github/workflows/update_catalog.yaml

+ 3 - 0
.github/workflows/update_catalog.yaml

@@ -18,6 +18,9 @@ jobs:
       - name: Update catalog details
         run: |
           /bin/bash -c "PWD=${pwd}; /usr/local/bin/catalog_update update --path $PWD"
+      - name: Add catalog json as a safe directory
+        run: |
+          /bin/bash -c "PWD=${pwd}; git config --global --add safe.directory $PWD"
       - uses: stefanzweifel/git-auto-commit-action@v4
         with:
             commit_message: Update catalog information