From dc42da625ee215945f864c7207c3e8717b27de16 Mon Sep 17 00:00:00 2001 From: "M. Rehan" Date: Tue, 28 Feb 2023 23:14:37 +0500 Subject: [PATCH] Mark catalog dir as safe --- .github/workflows/update_catalog.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_catalog.yaml b/.github/workflows/update_catalog.yaml index af71427bb9..479e412a13 100644 --- a/.github/workflows/update_catalog.yaml +++ b/.github/workflows/update_catalog.yaml @@ -17,12 +17,12 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - 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" + - name: Update catalog details + run: | + /bin/bash -c "PWD=${pwd}; /usr/local/bin/catalog_update update --path $PWD" - uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Update catalog information