Skip version increment check

Adjust workflow
This commit is contained in:
Jochem 2024-07-09 12:24:03 +02:00
parent 2cfc457f5a
commit e55ddb5781
No known key found for this signature in database

View File

@ -39,13 +39,21 @@ jobs:
fi fi
- name: Run chart-testing (lint) - name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true' && github.ref != 'refs/heads/develop'
run: ct lint --target-branch ${{ github.event.repository.default_branch }} run: ct lint --target-branch ${{ github.event.repository.default_branch }} --check-version-increment=false
- name: Run chart-testing (lint & version)
if: github.ref == 'refs/heads/develop'
run: ct lint --target-branch main
- name: Create kind cluster - name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@v1.10.0 uses: helm/kind-action@v1.10.0
- name: Run chart-testing (install) - name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true' && github.ref != 'refs/heads/develop'
run: ct install --target-branch ${{ github.event.repository.default_branch }} --skip-clean-up run: ct install --target-branch ${{ github.event.repository.default_branch }} --skip-clean-up
- name: Run chart-testing (install & upgrades)
if: github.ref == 'refs/heads/develop'
run: ct install --target-branch main --skip-clean-up --upgrade