skip install tests on common updates

This commit is contained in:
Kjeld Schouten
2026-02-15 11:23:24 +01:00
parent 9f1e1c43ad
commit f504f06828
+9 -4
View File
@@ -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