Browse Source

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

NAS-120131 / 23.10 / Fix catalog.json github action
M. Rehan 2 năm trước cách đây
mục cha
commit
b679dd8adf
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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