From e6a414f940834a8255cf08731a28659a6333a458 Mon Sep 17 00:00:00 2001 From: "M. Rehan" Date: Tue, 31 Jan 2023 12:12:09 +0500 Subject: [PATCH] Fix catalog.json github action --- .github/workflows/update_catalog.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update_catalog.yaml b/.github/workflows/update_catalog.yaml index 233eb93fb1..0e24073855 100644 --- a/.github/workflows/update_catalog.yaml +++ b/.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