diff --git a/.github/workflows/package-chart.yml b/.github/workflows/package-chart.yml index 68884b1..45593cb 100644 --- a/.github/workflows/package-chart.yml +++ b/.github/workflows/package-chart.yml @@ -2,8 +2,7 @@ name: Package and Release Helm Chart on: pull_request: - branches: - - main + types: [opened, synchronize] jobs: build: @@ -36,5 +35,5 @@ jobs: git checkout ${{ github.event.pull_request.head.ref }} git add dist/ git add index.yaml - git commit -m "Update Helm chart and index" + git commit -m "Update Helm chart and index" || echo "No changes to commit" git push origin