소스 검색

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

NAS-120131 / 23.10 / Fix catalog.json github action
M. Rehan 2 년 전
부모
커밋
b679dd8adf
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