浏览代码

Fix catalog.json github action

M. Rehan 2 年之前
父节点
当前提交
e6a414f940
共有 1 个文件被更改,包括 3 次插入0 次删除
  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