From f504f06828c1f43b1dc1ee850ea944502bf288b9 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sun, 15 Feb 2026 11:23:24 +0100 Subject: [PATCH] skip install tests on common updates --- .github/workflows/charts-test.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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