diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f046b855c32..3f6cdb9d28c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,16 +26,16 @@ jobs: - name: catalog json generation run: | echo "Starting Catalog json Generation" + /usr/local/bin/catalog_update update --path "${PWD}" pwd ls -la - /usr/local/bin/catalog_update update --path "${PWD}" + git config user.name "TrueCharts-Bot" + git config user.email "bot@truecharts.org" + git add catalog.json || echo "Adding catalog.json failed" + git commit -m "Commit catalog.json" || echo "Commiting catalog.json failed" - name: Merge staging into main run: | git config user.name "TrueCharts-Bot" git config user.email "bot@truecharts.org" - pwd - ls -la - git add catalog.json || echo "Adding catalog.json failed" - git commit -m "Commit catalog.json" || echo "Commiting catalog.json failed" git push -f origin staging:main