diff --git a/.github/workflows/superset-helm-release.yml b/.github/workflows/superset-helm-release.yml index 59c5048e967..2f2d56a2883 100644 --- a/.github/workflows/superset-helm-release.yml +++ b/.github/workflows/superset-helm-release.yml @@ -63,9 +63,8 @@ jobs: # Check out and reset the target branch based on gh-pages git checkout -B ${{ env.branch_name }} origin/gh-pages - # Apply changes - git add . - git commit -m "Release Helm charts" || echo "No changes to commit" + # Remove submodules from the branch + git submodule deinit -f --all # Force push to the remote branch git push origin ${{ env.branch_name }} --force