diff --git a/.github/workflows/charts-test.yaml b/.github/workflows/charts-test.yaml index 6c8bb2162ec..6c375061a36 100644 --- a/.github/workflows/charts-test.yaml +++ b/.github/workflows/charts-test.yaml @@ -69,10 +69,15 @@ jobs: if: inputs.chartChangesDetected == 'true' shell: bash run: | - # Get the PR title - PR_TITLE="${{ github.event.pull_request.title }}" - # Check if the PR title contains "chart common" - if [[ "$PR_TITLE" == *"chart common"* ]]; then + skip_prefix='fix(helm-deps): update chart common' + pr_title='${{ github.event.pull_request.title }}' + commit_title="$(git show -s --format=%s)" + + echo "PR title: ${pr_title}" + echo "Commit title: ${commit_title}" + + if [[ "$pr_title" == "$skip_prefix"* || "$commit_title" == "$skip_prefix"* ]]; then + echo "Skipping install tests for helm-deps common update; linting only" echo "charts1=[]" >> $GITHUB_OUTPUT echo "charts2=[]" >> $GITHUB_OUTPUT echo "charts3=[]" >> $GITHUB_OUTPUT