skip install tests on common updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user